diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-06 21:41:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 21:41:34 +0200 |
commit | 991353682d96cecd4695e150cb6030613d447844 (patch) | |
tree | 76ec0096ec68f25d07179bbeaea9565e4e2e7cee /app/views/disputes/strikes | |
parent | 5a448d0d7143475dabe315e6038ec27b59e9e6b5 (diff) |
Fix ambiguous wording on appeal actions (#18328)
Fixes #18322
Diffstat (limited to 'app/views/disputes/strikes')
-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 |