summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-07 14:57:21 -0400
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-13 16:10:49 -0400
commite684480eebe803c21545b3a8ea5a972c54ba7ea4 (patch)
treef211dd6f280ccb86943290db349b3fd12e211c7c /app/views
parent19b9df2d4fe73bb30de1711a15664eedb2e46afa (diff)
downloadgitlab-ce-e684480eebe803c21545b3a8ea5a972c54ba7ea4.tar.gz
Proper selecting multiple labels.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_label_dropdown.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_label_dropdown.html.haml b/app/views/shared/issuable/_label_dropdown.html.haml
index f57d837c45b..4ded2d98f37 100644
--- a/app/views/shared/issuable/_label_dropdown.html.haml
+++ b/app/views/shared/issuable/_label_dropdown.html.haml
@@ -4,7 +4,7 @@
%button.dropdown-menu-toggle.js-label-select.js-filter-submit.js-extra-options{type: "button", data: {toggle: "dropdown", field_name: "label_name", show_no: "true", show_any: "true", selected: params[:label_name], project_id: @project.try(:id), labels: labels_filter_path, default_label: "Label"}}
%button.dropdown-menu-toggle.js-label-select.js-filter-submit.js-multiselect.js-extra-options{type: "button", data: {toggle: "dropdown", field_name: "label_name[]", show_no: "true", show_any: "true", selected: params[:label_name], project_id: @project.try(:id), labels: labels_filter_path, default_label: "Label"}}
%span.dropdown-toggle-text
- = h(params[:label_name].presence || "Label")
+ = h(multi_label_name(params[:label_name], "Label"))
= icon('chevron-down')
.dropdown-menu.dropdown-select.dropdown-menu-paging.dropdown-menu-labels.dropdown-menu-selectable
.dropdown-page-one