summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_filter.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-08-08 15:43:07 +0100
committerPhil Hughes <me@iamphill.com>2016-08-17 17:17:39 +0100
commitd1a2be9f36179179975bc97f9b78bb3f58248cea (patch)
tree7d8caa21a633b0131e7e856814d3418d1913f176 /app/views/shared/issuable/_filter.html.haml
parent7dd9b0dd3c385f5f5d10f90d81aab2c573429bd1 (diff)
downloadgitlab-ce-d1a2be9f36179179975bc97f9b78bb3f58248cea.tar.gz
Created a class to share functionality of creating new label from dropdown
Diffstat (limited to 'app/views/shared/issuable/_filter.html.haml')
-rw-r--r--app/views/shared/issuable/_filter.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_filter.html.haml b/app/views/shared/issuable/_filter.html.haml
index 0fbf9a086e8..949592a36eb 100644
--- a/app/views/shared/issuable/_filter.html.haml
+++ b/app/views/shared/issuable/_filter.html.haml
@@ -31,7 +31,7 @@
= render 'shared/sort_dropdown'
- elsif current_user
.dropdown
- %button.btn.btn-create.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path } }
+ %button.btn.btn-create.js-new-board-list{ type: "button", data: { toggle: "dropdown", labels: labels_filter_path, project_id: @project.try(:id) } }
Create new list
.dropdown-menu.dropdown-menu-paging.dropdown-menu-align-right.dropdown-menu-issues-board-new.dropdown-menu-selectable
= render partial: "shared/issuable/label_page_default", locals: { show_footer: true, show_create: true, show_boards_content: true, title: "Create a new list" }