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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
469 B
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- page_title _("Snippets")
2023-06-20 00:43:36 +05:30
- header_title _("Your work"), root_path
- add_to_breadcrumbs _("Snippets"), dashboard_snippets_path
2019-07-07 11:18:12 +05:30
- snippets_upload_path = snippets_upload_path(@snippet, current_user)
2023-05-27 22:25:52 +05:30
- @left_sidebar = true
2023-04-23 21:23:45 +05:30
- if current_user
2023-03-17 16:20:25 +05:30
- nav "your_work"
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
2021-02-22 17:27:13 +05:30
= javascript_tag do
2019-10-12 21:52:04 +05:30
: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"