summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-19 13:30:26 +0000
committerMike Greiling <mike@pixelcog.com>2017-07-20 17:04:19 -0500
commit94bf2461a142a6b3d8b0851fcc86525de6781564 (patch)
treed1550fc8a2d96186bbd4a824266366b691f27e94
parent157a08730f82c4e7a59a25a9e98b2e50caa819a3 (diff)
downloadgitlab-ce-94bf2461a142a6b3d8b0851fcc86525de6781564.tar.gz
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
-rw-r--r--app/views/shared/empty_states/_issues.html.haml3
1 files changed, 2 insertions, 1 deletions
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.