diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-13 22:05:19 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-13 22:05:19 +0000 |
commit | 366f35ca6d4d65a2838842cf59e4744543c7d59f (patch) | |
tree | 47277e6542dd81842e41fa9487e994fd88c562fc | |
parent | dd08387c499fca71e6668e1c487266764d39b341 (diff) | |
parent | b4aba9c5aeee996bf8e29b36ca1e08d730ca99ad (diff) | |
download | gitlab-ce-366f35ca6d4d65a2838842cf59e4744543c7d59f.tar.gz |
Merge branch 'issues-empty-state-not-centered' into 'master'
Centered empty state for issues
Closes #30872
See merge request !10689
-rw-r--r-- | app/views/shared/empty_states/_issues.html.haml | 6 | ||||
-rw-r--r-- | changelogs/unreleased/issues-empty-state-not-centered.yml | 4 |
2 files changed, 8 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' diff --git a/changelogs/unreleased/issues-empty-state-not-centered.yml b/changelogs/unreleased/issues-empty-state-not-centered.yml new file mode 100644 index 00000000000..883125e28b1 --- /dev/null +++ b/changelogs/unreleased/issues-empty-state-not-centered.yml @@ -0,0 +1,4 @@ +--- +title: Centered issues empty state +merge_request: +author: |