debian-mirror-gitlab/app/views/layouts/snippets.html.haml

11 lines
335 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- header_title _("Snippets"), snippets_path
2019-07-07 11:18:12 +05:30
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
- content_for :page_specific_javascripts do
2019-07-07 11:18:12 +05:30
- if snippets_upload_path
2019-10-12 21:52:04 +05:30
= javascript_tag nonce: true do
:plain
window.uploads_path = "#{snippets_upload_path}";
2017-08-17 22:00:37 +05:30
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"