From b302b9202b17abe9834460acf589b512579766d6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 23 Dec 2016 00:04:52 +0100 Subject: Add page for authorizing/rejecting follow requests --- .../javascripts/components/features/account/components/header.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/assets/javascripts/components/features') diff --git a/app/assets/javascripts/components/features/account/components/header.jsx b/app/assets/javascripts/components/features/account/components/header.jsx index fe400e50b..adf9ab5ae 100644 --- a/app/assets/javascripts/components/features/account/components/header.jsx +++ b/app/assets/javascripts/components/features/account/components/header.jsx @@ -27,6 +27,7 @@ const Header = React.createClass({ let displayName = account.get('display_name'); let info = ''; let actionBtn = ''; + let lockedIcon = ''; if (displayName.length === 0) { displayName = account.get('username'); @@ -52,6 +53,10 @@ const Header = React.createClass({ } } + if (account.get('locked')) { + lockedIcon = ; + } + const content = { __html: emojify(account.get('note')) }; const displayNameHTML = { __html: emojify(escapeTextContentForBrowser(displayName)) }; @@ -66,7 +71,7 @@ const Header = React.createClass({ - @{account.get('acct')} + @{account.get('acct')} {lockedIcon}
{info} -- cgit