fabrica

hanna/fabrica

style(web): drop the administrator line from account settings

da05f00 · hanna committed on 2026-07-25

Remove the "Administrator: yes/no" note under the username form — it is not
useful to the account owner.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +0 −3UnifiedSplit
crates/web/src/pages.rs +0 −3
@@ -1744,9 +1744,6 @@ fn account_tab(user: &User, csrf: &str, emails: &[model::UserEmail]) -> Markup {
1744 input type="text" id="username" name="username" value=(user.username) required;1744 input type="text" id="username" name="username" value=(user.username) required;
1745 button class="btn" type="submit" { "Change username" }1745 button class="btn" type="submit" { "Change username" }
1746 }1746 }
1747 p class="muted field-hint" {
1748 "Administrator: " (if user.is_admin { "yes" } else { "no" })
1749 }
1750 }1747 }
1751 }1748 }
1752 (emails_section(user, csrf, emails))1749 (emails_section(user, csrf, emails))