From 0f3b01eaab82325baaf1c7a4c75a322d3c21a67f Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 18 Feb 2020 02:02:54 -0600 Subject: switch to irc-like oper behavior; require mods & admins to explicitly oper up using `fangs`/`op` bangtag or toggling defang setting in profile; auto-defang after 15 mins or with `defang`/`deop` bangtag --- app/javascript/flavours/glitch/features/account/components/header.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 d762e1087..553302cbc 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -193,6 +193,7 @@ class Header extends ImmutablePureComponent { const badge_gently = account.get('gently') ? (
) : null; const badge_kobold = account.get('kobold') ? (
) : null; const badge_mod = account.get('role') == 'moderator' ? (
) : null; + const badge_halfmod = account.get('role') == 'halfmod' ? (
) : null; const badge_admin = account.get('role') == 'admin' ? (
) : null; const acct = account.get('acct').indexOf('@') === -1 && domain ? `${account.get('acct')}@${domain}` : account.get('acct'); @@ -225,7 +226,7 @@ class Header extends ImmutablePureComponent {

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

-- cgit