Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-03-29 14:43:53 +0300
committerWinnie Hellmann <winnie@gitlab.com>2018-04-03 21:19:09 +0300
commita32941aee32ddfd7b114011f951741e06a53be5d (patch)
tree42d22c93a3dae27c93f6c9b63d09137d8de132ad /app/views/dashboard/issues.html.haml
parentc1b71e2fa1e49da82b15ee7f12148a372face09c (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.haml6
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'