diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-11-02 17:51:18 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-11-19 18:58:35 +0300 |
commit | 3924c20bb23262370580c4563cb675207faf16d3 (patch) | |
tree | d7838397433bb3bdced80b7e22662020d522e101 /app/views | |
parent | 08ddb655ef461c57355eeb83edf10988decb2ced (diff) |
Show separate empty_state if issues are filtered
Diffstat (limited to 'app/views')
-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 |