diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-05-11 21:09:59 -0400 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-05-11 21:11:34 -0400 |
commit | bc916754fb6a30cdd09f7f2ec7fc74785c339150 (patch) | |
tree | c09ff6fa6fe31d2cf9380497798a4311ef8c4c21 | |
parent | 61f811e61d3782784f94d9f8ff36d62deb69e8fa (diff) | |
download | gitlab-ce-bc916754fb6a30cdd09f7f2ec7fc74785c339150.tar.gz |
Remove 'New issue' button when issues search returns no results.
-rw-r--r-- | app/views/shared/empty_states/_issues.html.haml | 1 | ||||
-rw-r--r-- | changelogs/unreleased/31384-new-issue-button-on-no-results-page-after-search-doesn-t-go-to-correct-form.yml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml index 12d99c3ab4b..046b127f73c 100644 --- a/app/views/shared/empty_states/_issues.html.haml +++ b/app/views/shared/empty_states/_issues.html.haml @@ -20,4 +20,3 @@ - else .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/31384-new-issue-button-on-no-results-page-after-search-doesn-t-go-to-correct-form.yml b/changelogs/unreleased/31384-new-issue-button-on-no-results-page-after-search-doesn-t-go-to-correct-form.yml new file mode 100644 index 00000000000..8d586616e07 --- /dev/null +++ b/changelogs/unreleased/31384-new-issue-button-on-no-results-page-after-search-doesn-t-go-to-correct-form.yml @@ -0,0 +1,4 @@ +--- +title: Remove 'New issue' button when issues search returns no results. +merge_request: !11263 +author: |