feat(frontend): tweak warning for hidden member list

This commit is contained in:
Sam 2023-04-02 02:12:07 +02:00
parent 321bbe8499
commit c4ba4ef3d3
No known key found for this signature in database
GPG key ID: B4EF20DDE721CAA1

View file

@ -60,7 +60,17 @@
let modified = false;
$: modified = isModified(bio, display_name, links, names, pronouns, fields, avatar, member_title, list_private);
$: modified = isModified(
bio,
display_name,
links,
names,
pronouns,
fields,
avatar,
member_title,
list_private,
);
$: getAvatar(avatar_files).then((b64) => (avatar = b64));
const isModified = (
@ -461,16 +471,18 @@
</div>
</TabPane>
<TabPane tabId="other" tab="Other">
<div class="mt-3">
<div class="row mt-3">
<div class="col-md">
<FormGroup floating label={'"Members" header text'}>
<Input bind:value={member_title} placeholder="Members" />
<p class="text-muted mt-1">
<Icon name="info-circle-fill" aria-hidden />
This is the text used for the "Members" heading. If you leave it blank, the default text will
be used.
This is the text used for the "Members" heading. If you leave it blank, the default text
will be used.
</p>
</FormGroup>
</div>
<div class="col-md">
<div class="form-check">
<input
class="form-check-input"
@ -482,9 +494,13 @@
</div>
<p class="text-muted mt-1">
<Icon name="info-circle-fill" aria-hidden />
If this is checked, your member list will be hidden from other users.
<strong>This will not make any of your members' pages or information private.</strong>
This only hides your member <em>list</em>.
<strong>
Your members will still be visible to anyone at
<code class="text-nowrap">pronouns.cc/@{data.user.name}/[member-name]</code>.
</strong>
</p>
</div>
</div>
</TabPane>
</TabContent>