diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-03-20 20:01:46 +0100 |
---|---|---|
committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-03-20 21:37:22 +0100 |
commit | 367818d2934af8f3eb7313147198801d021445e5 (patch) | |
tree | d4833b7eb470293d80493478f70929c710679b31 /app/helpers/labels_helper.rb | |
parent | d19abe6f65fdf79060b233ac7df742897a8fb55e (diff) | |
download | gitlab-ce-367818d2934af8f3eb7313147198801d021445e5.tar.gz |
change the css class has_tooltip to has-tooltip universallychange_css_class_has_tooltip_to_has-tooltip
Diffstat (limited to 'app/helpers/labels_helper.rb')
-rw-r--r-- | app/helpers/labels_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb index ed37176aa6b..e0a8552dfa7 100644 --- a/app/helpers/labels_helper.rb +++ b/app/helpers/labels_helper.rb @@ -56,7 +56,7 @@ module LabelsHelper # Intentionally not using content_tag here so that this method can be called # by LabelReferenceFilter - span = %(<span class="label color-label #{"has_tooltip" if tooltip}" ) + + span = %(<span class="label color-label #{"has-tooltip" if tooltip}" ) + %(style="background-color: #{label_color}; color: #{text_color}" ) + %(title="#{escape_once(label.description)}" data-container="body">) + %(#{escape_once(label.name)}#{label_suffix}</span>) |