diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-03-29 14:43:53 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-04-03 21:19:09 +0300 |
commit | a32941aee32ddfd7b114011f951741e06a53be5d (patch) | |
tree | 42d22c93a3dae27c93f6c9b63d09137d8de132ad /app/views/dashboard/issues.html.haml | |
parent | c1b71e2fa1e49da82b15ee7f12148a372face09c (diff) |
Display illustration and message if no filter is selected
Diffstat (limited to 'app/views/dashboard/issues.html.haml')
-rw-r--r-- | app/views/dashboard/issues.html.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index 24d69b56c20..35bf92a0d07 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -12,4 +12,8 @@ = render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", with_feature_enabled: 'issues', type: :issues = render 'shared/issuable/filter', type: :issues -= render 'shared/issues' + +- if current_user && @no_filters_set + = render 'shared/dashboard/no_filter_selected' +- else + = render 'shared/issues' |