feat: add warning on edit member page if member list is private
This commit is contained in:
parent
6decfab248
commit
26b0d297ab
2 changed files with 7 additions and 1 deletions
|
@ -580,6 +580,13 @@
|
||||||
<label class="form-check-label" for="unlisted">Hide from member list</label>
|
<label class="form-check-label" for="unlisted">Hide from member list</label>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-muted mt-1">
|
<p class="text-muted mt-1">
|
||||||
|
{#if data.user.list_private}
|
||||||
|
<Icon name="exclamation-triangle-fill" aria-hidden />
|
||||||
|
Your member list is currently hidden, so <strong>this setting has no effect</strong>. If
|
||||||
|
you want to make your member list visible again,
|
||||||
|
<a href="/edit/profile">edit your user profile</a>.
|
||||||
|
<br />
|
||||||
|
{/if}
|
||||||
<Icon name="info-circle-fill" aria-hidden />
|
<Icon name="info-circle-fill" aria-hidden />
|
||||||
This <em>only</em> hides this member from your member list.
|
This <em>only</em> hides this member from your member list.
|
||||||
<strong>
|
<strong>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import {
|
||||||
Button,
|
|
||||||
ButtonDropdown,
|
ButtonDropdown,
|
||||||
DropdownItem,
|
DropdownItem,
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
|
|
Loading…
Reference in a new issue