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
Signed by: sam
GPG key ID: B4EF20DDE721CAA1

View file

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