More link/button conversion across views (#32199)

This commit is contained in:
Matt Jankowski 2024-10-02 09:08:40 -04:00 committed by GitHub
commit cf859d151b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 17 additions and 17 deletions

View file

@ -3,9 +3,9 @@
- content_for :heading_actions do
- if @report.unresolved?
= link_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), method: :post, class: 'button'
= button_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), class: :button
- else
= link_to t('admin.reports.mark_as_unresolved'), reopen_admin_report_path(@report), method: :post, class: 'button'
= button_to t('admin.reports.mark_as_unresolved'), reopen_admin_report_path(@report), class: :button
- unless @report.account.local? || @report.target_account.local?
.flash-message= t('admin.reports.forwarded_replies_explanation')