diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-08 21:00:49 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-05-08 21:00:49 +0200 |
commit | 22080786df76ec49387984cf7233c51b97f1812d (patch) | |
tree | b50a1dfa1faa2fb874bf88674522d5ce7d5a7d54 /app/views/disputes | |
parent | d7eae4229c3a0b5dd783888953004cfd9777cffd (diff) | |
parent | f17e73da09e6c63665aee4e9731df7808094960e (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/disputes')
-rw-r--r-- | app/views/disputes/strikes/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/disputes/strikes/show.html.haml b/app/views/disputes/strikes/show.html.haml index 0b71e14a3..1be50331a 100644 --- a/app/views/disputes/strikes/show.html.haml +++ b/app/views/disputes/strikes/show.html.haml @@ -3,8 +3,8 @@ - content_for :heading_actions do - if @appeal.persisted? - = link_to t('admin.accounts.approve'), approve_admin_disputes_appeal_path(@appeal), method: :post, class: 'button' if can?(:approve, @appeal) - = link_to t('admin.accounts.reject'), reject_admin_disputes_appeal_path(@appeal), method: :post, class: 'button button--destructive' if can?(:reject, @appeal) + = link_to t('disputes.strikes.approve_appeal'), approve_admin_disputes_appeal_path(@appeal), method: :post, class: 'button' if can?(:approve, @appeal) + = link_to t('disputes.strikes.reject_appeal'), reject_admin_disputes_appeal_path(@appeal), method: :post, class: 'button button--destructive' if can?(:reject, @appeal) - if @strike.overruled? %p.hint |