summaryrefslogtreecommitdiff
path: root/app/views/layouts/dashboard.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/dashboard.html.haml')
-rw-r--r--app/views/layouts/dashboard.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/layouts/dashboard.html.haml b/app/views/layouts/dashboard.html.haml
index c10be282952..028c22fe9e5 100644
--- a/app/views/layouts/dashboard.html.haml
+++ b/app/views/layouts/dashboard.html.haml
@@ -1,6 +1,9 @@
- page_title _("Dashboard")
- header_title _("Dashboard"), root_path unless header_title
-- sidebar "dashboard"
-- @hide_breadcrumbs = true
+- if Feature.enabled?(:your_work_sidebar, current_user)
+ - @left_sidebar = true
+ - nav "your_work"
+- else
+ - @hide_breadcrumbs = true
= render template: "layouts/application"