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

10 lines
304 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- header_title _("Snippets"), snippets_path
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
- content_for :page_specific_javascripts do
2017-09-10 17:25:29 +05:30
- if @snippet && current_user
-# haml-lint:disable InlineJavaScript
2017-08-17 22:00:37 +05:30
:javascript
2017-09-10 17:25:29 +05:30
window.uploads_path = "#{upload_path('personal_snippet', id: @snippet.id)}";
2017-08-17 22:00:37 +05:30
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"