summaryrefslogtreecommitdiff
path: root/app/views/projects/_md_preview.html.haml
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-02 22:03:43 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-02 22:03:43 -0200
commitf1bbd8119db3e494e662cd219a9882e5e17bf4bc (patch)
tree73da2172a69d5855b976c6f853dd04ec92d887e5 /app/views/projects/_md_preview.html.haml
parentefead2cf1604465bf5b840905571356fc2ef98a2 (diff)
downloadgitlab-ce-f1bbd8119db3e494e662cd219a9882e5e17bf4bc.tar.gz
Style warning about mentioning many people in a comment
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r--app/views/projects/_md_preview.html.haml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index 8218cf11201..c4d3c9cc30a 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -8,17 +8,17 @@
%a.js-md-preview-button(href="#md-preview-holder" tabindex="-1")
Preview
- - if defined?(referenced_users) && referenced_users
- %span.referenced-users.pull-left.hide
- = icon('exclamation-triangle')
- You are about to add
- %strong
- %span.js-referenced-users-count 0
- people
- to the discussion. Proceed with caution.
-
%div
.md-write-holder
= yield
.md.md-preview-holder.hide
.js-md-preview{class: (preview_class if defined?(preview_class))}
+
+ - if defined?(referenced_users) && referenced_users
+ %span.referenced-users.pull-left.hide
+ = icon('exclamation-triangle')
+ You are about to add
+ %strong
+ %span.js-referenced-users-count 0
+ people
+ to the discussion. Proceed with caution.