From 9d7b83b4872f67bdc3b4e54b3e3b3a9b2bc94f42 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Thu, 7 Dec 2017 15:36:26 +0000 Subject: Update issues empty state [ci skip] --- app/views/shared/empty_states/_issues.html.haml | 13 +++++++------ 1 file 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 -- cgit v1.2.1