diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-11-02 22:51:18 +0800 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-11-19 23:58:35 +0800 |
commit | 3924c20bb23262370580c4563cb675207faf16d3 (patch) | |
tree | d7838397433bb3bdced80b7e22662020d522e101 /app/views/shared/empty_states | |
parent | 08ddb655ef461c57355eeb83edf10988decb2ced (diff) | |
download | gitlab-ce-3924c20bb23262370580c4563cb675207faf16d3.tar.gz |
Show separate empty_state if issues are filtered
Diffstat (limited to 'app/views/shared/empty_states')
-rw-r--r-- | app/views/shared/empty_states/_issues.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml index 2e26fe63d3e..00b2741d392 100644 --- a/app/views/shared/empty_states/_issues.html.haml +++ b/app/views/shared/empty_states/_issues.html.haml @@ -8,7 +8,12 @@ = image_tag 'illustrations/issues.svg' .col-12 .text-content - - if current_user + - if has_filter_bar_param? + %h4.text-center + = _("Sorry, your filter produced no results") + %p.text-center + = _("To widen your search, change or remove filters in the filter bar above") + - elsif current_user %h4 = _("The Issue Tracker is the place to add things that need to be improved or solved in a project") %p |