summaryrefslogtreecommitdiff
path: root/app/views/layouts/snippets.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r--app/views/layouts/snippets.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml
index 54b5ec85ccc..fd331d4b6c8 100644
--- a/app/views/layouts/snippets.html.haml
+++ b/app/views/layouts/snippets.html.haml
@@ -2,6 +2,10 @@
- header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
+- if current_user && Feature.enabled?(:your_work_sidebar, current_user)
+ - @left_sidebar = true
+ - nav "your_work"
+
- content_for :page_specific_javascripts do
- if snippets_upload_path
= javascript_tag do