Commit 46a4e693 authored by Kev's avatar Kev

Make MR "reverted" link look like issue's "moved" link

parent f8b0836c
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
= sprite_icon(state_icon_name, css_class: 'd-block d-sm-none') = sprite_icon(state_icon_name, css_class: 'd-block d-sm-none')
- if @merge_request.is_reverted?(current_user) - if @merge_request.is_reverted?(current_user)
%span.d-none.d-sm-block %span.d-none.d-sm-block
= _("Merged") = _('Merged (%{reverted})').html_safe % { reverted: link_to('reverted', merge_request_path(@merge_request.reverting_merge_request(current_user)), class: 'gl-text-white! gl-text-decoration-underline') }
= link_to '(reverted)', merge_request_path(@merge_request.reverting_merge_request(current_user))
- else - else
%span.d-none.d-sm-block %span.d-none.d-sm-block
= state_human_name = state_human_name
......
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