summaryrefslogtreecommitdiff
path: root/app/views/groups/issues.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/issues.html.haml')
-rw-r--r--app/views/groups/issues.html.haml13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 5a9739a0cda..90ade1e1680 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -12,18 +12,7 @@
= link_to issues_group_url(@group, format: :atom, private_token: current_user.private_token), class: 'btn' do
%i.fa.fa-rss
- - if @projects.any? { |project| can?(current_user, :create_issue, project) }
- .dropdown.inline.prepend-left-10
- %button.dropdown-toggle.btn.btn-new{type: 'button', 'data-toggle' => 'dropdown'}
- %i.fa.fa-plus
- New Issue
- %b.caret
- %ul.dropdown-menu.dropdown-menu-align-right
- - @projects.each do |project|
- - if can?(current_user, :create_issue, project)
- %li
- = link_to new_namespace_project_issue_path(project.namespace, project) do
- = project.name_with_namespace
+ = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
= render 'shared/issuable/filter', type: :issues