diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-13 19:33:32 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-13 23:52:49 +0300 |
commit | b4aba9c5aeee996bf8e29b36ca1e08d730ca99ad (patch) | |
tree | a1b796b3fe1369dd66136b476a91ae0a48a89037 /app | |
parent | 7d7dfee48b3455eec07968e7517f9d843a04da66 (diff) |
Centered empty state for issues
Diffstat (limited to 'app')
-rw-r--r-- | app/views/shared/empty_states/_issues.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml index 7a7e3d46796..c229d18903f 100644 --- a/app/views/shared/empty_states/_issues.html.haml +++ b/app/views/shared/empty_states/_issues.html.haml @@ -16,6 +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 - %h4 There are no issues to show. - = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' + .text-center + %h4 There are no issues to show. + = link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' |