Commit 59125300 authored by Kev's avatar Kev

Add "reverted" notice to merge request list

parent 46a4e693
...@@ -40,7 +40,10 @@ ...@@ -40,7 +40,10 @@
.issuable-meta .issuable-meta
%ul.controls.d-flex.align-items-end %ul.controls.d-flex.align-items-end
- if merge_request.merged? - if merge_request.is_reverted?(current_user)
%li.issuable-status.d-none.d-sm-inline-block
= _('MERGED (REVERTED)')
- elsif merge_request.merged?
%li.issuable-status.d-none.d-sm-inline-block %li.issuable-status.d-none.d-sm-inline-block
= _('MERGED') = _('MERGED')
- elsif merge_request.closed? - elsif merge_request.closed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment