From 94bf2461a142a6b3d8b0851fcc86525de6781564 Mon Sep 17 00:00:00 2001 From: Tim Zallmann Date: Wed, 19 Jul 2017 13:30:26 +0000 Subject: Merge branch 'remove-double-new-issue' into 'master' Remove double new issue button on group issue dashboard empty state Closes #35211 See merge request !12924 --- app/views/shared/empty_states/_issues.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml index 046b127f73c..b0c0ab523c7 100644 --- a/app/views/shared/empty_states/_issues.html.haml +++ b/app/views/shared/empty_states/_issues.html.haml @@ -16,7 +16,8 @@ Also, issues are searchable and filterable. - if project_select_button = render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue' - = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' + - else + = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' - else .text-center %h4 There are no issues to show. -- cgit v1.2.1