From 6d07ba50f31f82633019b62dc83ec7099e3926b3 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 19 Jul 2019 15:43:59 -0500 Subject: keep `locked` badge for approves-followers + add `frozen` badge for admin-locked accts, also federate `frozen` state --- .../flavours/glitch/features/account/components/header.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/javascript/flavours/glitch/features/account') diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 0f03770b7..f70593868 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -191,6 +191,7 @@ class Header extends ImmutablePureComponent { const fields = account.get('fields'); const badge_locked = account.get('locked') ? (
) : null; + const badge_froze = account.get('froze') ? (
) : null; const badge_bot = account.get('bot') ? (
) : null; const badge_ac = account.get('adult_content') ? (
) : null; const badge_gently = account.get('gently') ? (
) : null; @@ -226,9 +227,10 @@ class Header extends ImmutablePureComponent {

+ {lockedIcon} - @{acct} {lockedIcon} -
{badge_locked}{badge_admin}{badge_mod}{badge_ac}{badge_bot}{badge_gently}{badge_kobold}
+ @{acct} +
{badge_froze}{badge_locked}{badge_admin}{badge_mod}{badge_ac}{badge_bot}{badge_gently}{badge_kobold}

-- cgit