diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-30 07:35:49 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-05-30 07:35:49 +0300 |
commit | a7349560b2d13ea7894a462738b3a7687fdbae72 (patch) | |
tree | 6b06e74b4934e57c99d7a1684592ae97aa276394 /app/views/shared | |
parent | e5226177ac667c8ad4cc07270bbdef24031eb8a2 (diff) |
'New issue'/'New merge request' dropdowns should show only projects with issues/merge requests feature enabled
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_new_project_item_select.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_new_project_item_select.html.haml b/app/views/shared/_new_project_item_select.html.haml index fbbf6f358c5..9ed844cf5e7 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? .project-item-select-holder - = project_select_tag :project_path, class: "project-item-select", data: { include_groups: local_assigns[:include_groups], order_by: 'last_activity_at' } + = project_select_tag :project_path, class: "project-item-select", data: { include_groups: local_assigns[:include_groups], order_by: 'last_activity_at' }, with_feature_enabled: local_assigns[:with_feature_enabled] %a.btn.btn-new.new-project-item-select-button = local_assigns[:label] = icon('caret-down') |