From 1506453fc013ee417b22055ec22263bb6f682ff8 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Mon, 11 Jan 2021 09:07:37 +0000 Subject: [PATCH] Add locked account and bot indicators --- src/View/Account.elm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/View/Account.elm b/src/View/Account.elm index 031d277..36a66fc 100644 --- a/src/View/Account.elm +++ b/src/View/Account.elm @@ -284,6 +284,19 @@ accountView subView currentUser accountInfo = Nothing -> text "" + , if account.bot then + span [ class "badge bot" ] [ text "Bot" ] + else + text "" + , if account.locked then + span + [ + title "Locked account. The owner will manually approve their followers.", + style [ ( "margin-left", "2px") ] + ] + [ Common.icon "lock" ] + else + text "" ] , span [ class "account-note" ] (formatContent account.note []) ]