diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-07 17:24:15 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-07 17:24:15 +0100 |
commit | 6fb90a2ca37d2735cda3b904139af1d487bcf125 (patch) | |
tree | ef7be075eb01df46e1489e9ca27545c57a505576 /app/views | |
parent | 5a9a8d03a798c8dfe154e5db4ddf6bcb7a14fa2c (diff) | |
download | gitlab-ce-6fb90a2ca37d2735cda3b904139af1d487bcf125.tar.gz |
Include groups in dashboard "New Milestone" select.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/milestones/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/_new_project_item_select.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/milestones/index.html.haml b/app/views/dashboard/milestones/index.html.haml index 94ff259a338..bec1692a4de 100644 --- a/app/views/dashboard/milestones/index.html.haml +++ b/app/views/dashboard/milestones/index.html.haml @@ -3,7 +3,7 @@ .project-issuable-filter .controls - = render 'shared/new_project_item_select', path: 'milestones/new', label: "New Milestone" + = render 'shared/new_project_item_select', path: 'milestones/new', label: "New Milestone", include_groups: true = render 'shared/milestones_filter' diff --git a/app/views/shared/_new_project_item_select.html.haml b/app/views/shared/_new_project_item_select.html.haml index d7243b2d518..c4431d66927 100644 --- a/app/views/shared/_new_project_item_select.html.haml +++ b/app/views/shared/_new_project_item_select.html.haml @@ -1,6 +1,6 @@ - if @projects.any? .prepend-left-10.new-project-item-select-holder - = project_select_tag :project_path, class: "new-project-item-select" + = project_select_tag :project_path, class: "new-project-item-select", data: { include_groups: local_assigns[:include_groups] } %a.btn.btn-new.new-project-item-select-button = icon('plus') = local_assigns[:label] |