summaryrefslogtreecommitdiff
path: root/web/source/settings/views/user/profile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/source/settings/views/user/profile.tsx')
-rw-r--r--web/source/settings/views/user/profile.tsx15
1 files changed, 11 insertions, 4 deletions
diff --git a/web/source/settings/views/user/profile.tsx b/web/source/settings/views/user/profile.tsx
index f4088b353..6d476f80f 100644
--- a/web/source/settings/views/user/profile.tsx
+++ b/web/source/settings/views/user/profile.tsx
@@ -130,6 +130,7 @@ function UserProfileForm({ data: profile }) {
avatar={form.avatar.previewValue ?? profile.avatar}
header={form.header.previewValue ?? profile.header}
display_name={form.displayName.value ?? profile.username}
+ bot={profile.bot}
username={profile.username}
role={profile.role}
/>
@@ -186,6 +187,10 @@ function UserProfileForm({ data: profile }) {
Learn more about these settings (opens in a new tab)
</a>
</div>
+ <Checkbox
+ field={form.bot}
+ label="Mark as bot account; this indicates to other users that this is an automated account"
+ />
<TextInput
field={form.displayName}
label="Display name"
@@ -200,10 +205,12 @@ function UserProfileForm({ data: profile }) {
autoCapitalize="sentences"
rows={8}
/>
- <b>Profile fields</b>
- <ProfileFields
- field={form.fields}
- />
+ <fieldset>
+ <legend>Profile fields</legend>
+ <ProfileFields
+ field={form.fields}
+ />
+ </fieldset>
<div className="form-section-docs">
<h3>Visibility and privacy</h3>