about summary refs log tree commit diff
path: root/app/views/authorize_follow
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-29 17:23:27 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-29 17:23:27 +0100
commit8724094ed0e531f4435bf2784c9c1b7176acd764 (patch)
treef40d8c65f178c89030fdf9ec3351707b4723e712 /app/views/authorize_follow
parentd7dc84439c60069a0cb9eeca81dc61c297a8667b (diff)
Support remote follow request providing URL instead of acct
Diffstat (limited to 'app/views/authorize_follow')
-rw-r--r--app/views/authorize_follow/new.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/authorize_follow/new.html.haml b/app/views/authorize_follow/new.html.haml
index 7368b834a..44bf575ff 100644
--- a/app/views/authorize_follow/new.html.haml
+++ b/app/views/authorize_follow/new.html.haml
@@ -14,7 +14,8 @@
           %strong= display_name(@account)
           %span= "@#{@account.acct}"
 
-      .account__header__content= Formatter.instance.simplified_format(@account)
+      - unless @account.note.blank?
+        .account__header__content= Formatter.instance.simplified_format(@account)
 
   = form_tag authorize_follow_path, method: :post, class: 'simple_form' do
     = hidden_field_tag :acct, @account.acct