Merge branch 'kb_development' into kb_migration
This commit is contained in:
commit
d6008cffb5
19 changed files with 161 additions and 23 deletions
|
@ -45,6 +45,19 @@
|
|||
%th= t('admin.statuses.favourites')
|
||||
%td= friendly_number_to_human @status.favourites_count
|
||||
|
||||
%div.action-buttons
|
||||
%div
|
||||
- if @account.local?
|
||||
= link_to t('admin.statuses.remove_history'), remove_history_admin_account_status_path(@account.id), method: :post, class: 'button' if can?(:warn, @account)
|
||||
- if @account.local? && @status.with_media?
|
||||
= link_to t('admin.statuses.remove_media'), remove_media_admin_account_status_path(@account.id), method: :post, class: 'button' if can?(:warn, @account)
|
||||
- if @account.local? && !@status.sensitive && @status.with_media?
|
||||
= link_to t('admin.statuses.force_nsfw'), force_sensitive_admin_account_status_path(@account.id), method: :post, class: 'button' if can?(:warn, @account)
|
||||
- if @account.local? && !@status.spoiler_text.present?
|
||||
= link_to t('admin.statuses.force_cw'), force_cw_admin_account_status_path(@account.id), method: :post, class: 'button' if can?(:warn, @account)
|
||||
- if @account.local?
|
||||
= link_to t('admin.statuses.remove'), remove_status_admin_account_status_path(@account.id), method: :post, class: 'button' if can?(:warn, @account)
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
%h3= t('admin.statuses.history')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue