mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 20:32:56 +00:00
1801a36414
* 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
17 lines
700 B
Plaintext
17 lines
700 B
Plaintext
%table.table
|
|
%tbody
|
|
%tr
|
|
%td= t('admin.accounts.show.created_reports')
|
|
%td= link_to pluralize(account.reports.count, t('admin.accounts.show.report')), admin_reports_path(account_id: account.id)
|
|
%tr
|
|
%td= t('admin.accounts.show.targeted_reports')
|
|
%td= link_to pluralize(account.targeted_reports.count, t('admin.accounts.show.report')), admin_reports_path(target_account_id: account.id)
|
|
- if account.silenced? or account.suspended?
|
|
%tr
|
|
%td= t('admin.accounts.moderation.title')
|
|
%td
|
|
- if account.silenced?
|
|
%p= t('admin.moderation.silenced')
|
|
- if account.suspended?
|
|
%p= t('admin.moderation.suspended')
|