Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/issuable/_filter.html.haml')
-rw-r--r--app/views/shared/issuable/_filter.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_filter.html.haml b/app/views/shared/issuable/_filter.html.haml
index be06738eac9..2acb319b927 100644
--- a/app/views/shared/issuable/_filter.html.haml
+++ b/app/views/shared/issuable/_filter.html.haml
@@ -42,6 +42,11 @@
class: 'select2 trigger-submit', include_blank: true,
data: {placeholder: 'Milestone'})
+ .filter-item.inline.people-filter.btn-group
+ %button.btn.btn-default.dropdown-toggle{ "data-toggle" => 'dropdown' }
+ People
+ %span.caret
+ %ul.dropdown-menu.dropdown-multi-menu
.filter-item.inline.labels-filter
= select_tag('label_name', projects_labels_options,
class: 'select2 trigger-submit', include_blank: true,
@@ -70,3 +75,11 @@
event.preventDefault();
Turbolinks.visit(this.action + '&' + $(this).serialize());
});
+
+ $('ul.dropdown-multi-menu').multiawesome({
+ data: [{label:'milestone',data:1},{label:'no milestone',data:1}],
+ title: "Milestones",
+ onChange: function(item) {
+ console.log("changed",item)
+ }
+ });