Commit c66218ec94e51386d1f84306b36687dd0856d970

Authored by Dmitriy Zaporozhets
2 parents 0c5c1157 592dce18

Merge pull request #6634 from jvanbaarsen/see-merge-status-no-permission

Always show merge status
app/views/projects/merge_requests/show/_mr_accept.html.haml
... ... @@ -4,7 +4,10 @@
4 4 %strong Archived projects cannot be committed to!
5 5 - else
6 6 .bs-callout
7   - %strong You don't have permission to merge this MR
  7 + .automerge_widget.cannot_be_merged.hide
  8 + %strong This can't be merged automatically, even if it could be merged you don't have the permission to do so.
  9 + .automerge_widget.can_be_merged.hide
  10 + %strong This can be merged automatically but you don't have the permission to do so.
8 11  
9 12  
10 13 - if @show_merge_controls
... ...