diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-23 00:04:52 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-23 00:04:52 +0100 |
commit | b302b9202b17abe9834460acf589b512579766d6 (patch) | |
tree | 927362d8752727f32e93c733a7cba573608ede70 /app/views/follow_requests | |
parent | 3c841c73062a43a634ff7407ef3e6c84c5510c96 (diff) |
Add page for authorizing/rejecting follow requests
Diffstat (limited to 'app/views/follow_requests')
-rw-r--r-- | app/views/follow_requests/index.html.haml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/follow_requests/index.html.haml b/app/views/follow_requests/index.html.haml new file mode 100644 index 000000000..9db2d5c42 --- /dev/null +++ b/app/views/follow_requests/index.html.haml @@ -0,0 +1,16 @@ +- content_for :page_title do + = t('follow_requests.title') + +- if @follow_requests.empty? + %p.nothing-here= t('accounts.nothing_here') +- else + %table.table + %tbody + - @follow_requests.each do |follow_request| + %tr + %td= link_to follow_request.account.acct, web_path("accounts/#{follow_request.account.id}") + %td + = table_link_to 'check-circle', t('follow_requests.authorize'), authorize_follow_request_path(follow_request), method: :post + = table_link_to 'times-circle', t('follow_requests.reject'), reject_follow_request_path(follow_request), method: :post + +.form-footer= render "settings/shared/links" |