summaryrefslogtreecommitdiff
path: root/app/views/shared/empty_states
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-03-20 18:51:44 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-03-20 18:51:44 +0000
commit85759f2c79af60b4903fedfcbc55e6d28979fd1d (patch)
treec851844da36a42b636c96d4163a6a50ca27208fa /app/views/shared/empty_states
parent81e6cbc934871c10d5d71f36bc47e4320afab194 (diff)
parentaea78ded3408a7f68f226049389d52abe8bb087f (diff)
downloadgitlab-ce-85759f2c79af60b4903fedfcbc55e6d28979fd1d.tar.gz
Merge branch '20204-new-issue-button-redirects-you-to-create-a-new-issue-after-logging-in' into 'master'
Redirect to signin when New Issue for not logged in Closes #20204 See merge request !9743
Diffstat (limited to 'app/views/shared/empty_states')
-rw-r--r--app/views/shared/empty_states/_issues.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml
index e2033654018..7a7e3d46796 100644
--- a/app/views/shared/empty_states/_issues.html.haml
+++ b/app/views/shared/empty_states/_issues.html.haml
@@ -16,7 +16,6 @@
Also, issues are searchable and filterable.
- if project_select_button
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue'
- - else
- = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link'
- else
- %h4.text-center There are no issues to show.
+ %h4 There are no issues to show.
+ = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link'