summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-08-19 16:00:47 +0000
committerRobert Speicher <robert@gitlab.com>2016-08-19 16:00:47 +0000
commit4ecfd74fff060a3a6aaa16ace3b3360c74ed893a (patch)
treecf00c098be86aececef51761473f627109d35018 /app/views/shared
parent55cd2e791bfeb90548e1cd4c142213470f1f2aac (diff)
parentd1b987fd05ef650cfb227da5828a1cd4fc811436 (diff)
downloadgitlab-ce-4ecfd74fff060a3a6aaa16ace3b3360c74ed893a.tar.gz
Merge branch 'label-tooltip-sidebar-collapsed' into 'master'
Added tooltip to label value in collapsed sidebar ## What does this MR do? Adds a list of the issuables labels to a tooltip in the collapsed sidebar. Limited to 5 otherwise the list could get crazy long. Closes #19398 See merge request !5232
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index 8e2fcbdfab8..c1b50e65af5 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -109,7 +109,7 @@
- if issuable.project.labels.any?
.block.labels
- .sidebar-collapsed-icon
+ .sidebar-collapsed-icon.js-sidebar-labels-tooltip{ title: issuable_labels_tooltip(issuable.labels_array), data: { placement: "left", container: "body" } }
= icon('tags')
%span
= issuable.labels_array.size