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

19 lines
681 B
Text
Raw Normal View History

2018-03-27 19:54:05 +05:30
- page_title @project.full_name
2021-01-03 14:25:43 +05:30
- page_description @project.description_html unless page_description
- header_title project_title(@project) unless header_title
2018-03-17 18:26:18 +05:30
- nav "project"
2021-01-29 00:20:46 +05:30
- page_itemtype 'http://schema.org/SoftwareSourceCode'
2020-06-23 00:09:42 +05:30
- display_subscription_banner!
2020-10-24 23:57:45 +05:30
- display_namespace_storage_limit_alert!
2020-06-23 00:09:42 +05:30
- @left_sidebar = true
2021-10-29 20:43:33 +05:30
- @content_class = [@content_class, project_classes(@project)].compact.join(" ")
2015-09-11 14:41:01 +05:30
2017-08-17 22:00:37 +05:30
- content_for :project_javascripts do
2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2015-09-11 14:41:01 +05:30
- if current_user
2021-02-22 17:27:13 +05:30
= javascript_tag do
2019-10-12 21:52:04 +05:30
:plain
window.uploads_path = "#{project_uploads_path(project)}";
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"