diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-09-14 12:01:07 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-09-14 14:10:41 +0100 |
commit | a319418d9c050097a797fbf4f890cebd5256ed43 (patch) | |
tree | d1c97d9139fa984c8c8a86c5bdbe5c6438e6831b /app/views/projects/_md_preview.html.haml | |
parent | 994e7d135947ca162c147c5e0992a0190de22808 (diff) | |
download | gitlab-ce-a319418d9c050097a797fbf4f890cebd5256ed43.tar.gz |
Merge FE
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r-- | app/views/projects/_md_preview.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml index 71424593f2e..d56a2b58955 100644 --- a/app/views/projects/_md_preview.html.haml +++ b/app/views/projects/_md_preview.html.haml @@ -1,5 +1,12 @@ - referenced_users = local_assigns.fetch(:referenced_users, nil) +- if defined?(@merge_request) && @merge_request.discussion_locked? +.issuable-note-warning + = icon('lock') + %span + = _('This merge request is locked.') + = _('Only project members can comment.') + .md-area .md-header %ul.nav-links.clearfix |