summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-07 15:36:26 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-12-07 15:36:41 +0000
commit9d7b83b4872f67bdc3b4e54b3e3b3a9b2bc94f42 (patch)
treee3f6ada9d089948678c4e5029c0c7718d95bd5c4
parent926a26061de0d9ac1c036edfd680721650e5b385 (diff)
downloadgitlab-ce-9d7b83b4872f67bdc3b4e54b3e3b3a9b2bc94f42.tar.gz
Update issues empty state [ci skip]
-rw-r--r--app/views/shared/empty_states/_issues.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml
index de26fa8bbf3..ee5637cf422 100644
--- a/app/views/shared/empty_states/_issues.html.haml
+++ b/app/views/shared/empty_states/_issues.html.haml
@@ -6,7 +6,7 @@
.col-xs-12
.svg-content
= image_tag 'illustrations/issues.svg'
- .col-xs-12.text-center
+ .col-xs-12
.text-content
- if has_button && current_user
%h4
@@ -14,10 +14,11 @@
%p
Issues can be bugs, tasks or ideas to be discussed.
Also, issues are searchable and filterable.
- - 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'
+ .text-center
+ - 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'
- else
.text-center
- %h4 There are no issues to show.
+ %h4 There are no issues to show