debian-mirror-gitlab/app/views/layouts/snippets.html.haml
2019-07-07 11:18:12 +05:30

10 lines
342 B
Text

- header_title _("Snippets"), snippets_path
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
- content_for :page_specific_javascripts do
- if snippets_upload_path
-# haml-lint:disable InlineJavaScript
:javascript
window.uploads_path = "#{snippets_upload_path}";
= render template: "layouts/application"