feat: add warning on edit member page if member list is private
This commit is contained in:
parent
6decfab248
commit
26b0d297ab
|
@ -580,6 +580,13 @@
|
|||
<label class="form-check-label" for="unlisted">Hide from member list</label>
|
||||
</div>
|
||||
<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 />
|
||||
This <em>only</em> hides this member from your member list.
|
||||
<strong>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<script lang="ts">
|
||||
import {
|
||||
Button,
|
||||
ButtonDropdown,
|
||||
DropdownItem,
|
||||
DropdownMenu,
|
||||
|
|
Loading…
Reference in New Issue