diff options
author | Regis Boudinot <boudinot.regis@yahoo.com> | 2017-08-11 21:55:36 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-08-11 21:55:36 +0000 |
commit | e184dfc3c02e942fae0cc264770ffaa4b0201616 (patch) | |
tree | fba05e368202d653b146c2ce83176597a94a6db7 /app/views | |
parent | f8fa7a050ed7388345d5f8e8520461f447a00694 (diff) | |
download | gitlab-ce-e184dfc3c02e942fae0cc264770ffaa4b0201616.tar.gz |
fix confidential border issue as well as confidential styles leaking on new MR
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/_md_preview.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml index 6e13bf47ff6..97041b87c48 100644 --- a/app/views/projects/_md_preview.html.haml +++ b/app/views/projects/_md_preview.html.haml @@ -1,11 +1,9 @@ - referenced_users = local_assigns.fetch(:referenced_users, nil) - if defined?(@issue) && @issue.confidential? - %li.confidential-issue-warning + .confidential-issue-warning = confidential_icon(@issue) %span This is a confidential issue. Your comment will not be visible to the public. -- else - %li.confidential-issue-warning.not-confidential .md-area .md-header |