summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-11 12:08:55 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-12-11 12:08:55 +0000
commitc2d150049b0fc38332eb5f2f166c0b15ae43d731 (patch)
tree7c063d417fee117aed22baf5eb009db7b99ff258 /app/views/shared
parent7ad8704c24e54ba08db204131843cd9eaeaed7df (diff)
downloadgitlab-ce-c2d150049b0fc38332eb5f2f166c0b15ae43d731.tar.gz
Improve empty states for TODOs and issues
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/empty_states/_issues.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml
index ee5637cf422..cabada4094c 100644
--- a/app/views/shared/empty_states/_issues.html.haml
+++ b/app/views/shared/empty_states/_issues.html.haml
@@ -18,7 +18,10 @@
- if project_select_button
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue', type: :issues
- else
- = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link'
+ = link_to 'New issue', button_path, class: 'btn btn-success', title: 'New issue', id: 'new_issue_link'
- else
+ %h4.text-center There are no issues to show
+ %p
+ The Issue Tracker is the place to add things that need to be improved or solved in a project. You can register or sign in to create issues for this project.
.text-center
- %h4 There are no issues to show
+ = link_to 'Register / Sign In', new_user_session_path, class: 'btn btn-success'