diff options
author | Effy Elden <github@effy.is> | 2017-04-24 08:44:37 +1000 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-24 00:44:37 +0200 |
commit | 1801a36414ee79bd51aad23fc5ff6a90049e7270 (patch) | |
tree | 6966c2b6f1faa719acc4fec565ee3d403661ba89 /app/views/authorize_follow | |
parent | 501514960a9de238e23cd607d2e8f4c1ff9f16c1 (diff) |
Report processing improvements (#2349)
* Expose media attachments on reported statuses directly * Comment out unused bulk report checkbox. Add title to report comment for viewing full comment. Add 'contents' column, with icons and numerical indicators to show the number of referenced statuses and media attachments in the report * Link account name on authorize_follow card back to account * Add localisation string for report_contents * Show new admin accounts card partial on report view. Apply simple_format to report comment so newlines are preserved. * Add new admin accounts card partial, for display quick useful admin stats (e.g. report history, moderation status). * Fix localized variable
Diffstat (limited to 'app/views/authorize_follow')
-rw-r--r-- | app/views/authorize_follow/_card.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/authorize_follow/_card.html.haml b/app/views/authorize_follow/_card.html.haml index 16af9220e..ee76f628d 100644 --- a/app/views/authorize_follow/_card.html.haml +++ b/app/views/authorize_follow/_card.html.haml @@ -4,8 +4,9 @@ = image_tag account.avatar.url(:original), alt: '', width: 48, height: 48, class: 'avatar' %span.display-name - %strong.emojify= display_name(account) - %span= "@#{account.acct}" + = link_to TagManager.instance.url_for(account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do + %strong.emojify= display_name(account) + %span= "@#{account.acct}" - if account.note? .account__header__content.emojify= Formatter.instance.simplified_format(account) |