summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-07-17 15:59:42 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-07-17 15:59:42 -0500
commitebe989ca09fbc205bcb1f23d7e4128e5f89f7586 (patch)
treea6171698ede6b4106f4f6588b318a47276bfb92a
parent9c70d98eefa9e306171158a5e1aaca17b6e47917 (diff)
downloadgitlab-ce-remove-double-new-issue.tar.gz
Remove double new issue button on group issue dashboard empty stateremove-double-new-issue
-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.