debian-mirror-gitlab/app/views/layouts/snippets.html.haml
2023-05-27 22:25:52 +05:30

16 lines
423 B
Text

- page_title _("Snippets")
- header_title _("Snippets"), dashboard_snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
- @left_sidebar = true
- if current_user
- nav "your_work"
- content_for :page_specific_javascripts do
- if snippets_upload_path
= javascript_tag do
:plain
window.uploads_path = "#{snippets_upload_path}";
= render template: "layouts/application"