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

29 lines
1.2 KiB
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!
- @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
2022-08-13 15:12:31 +05:30
- content_for :flash_message do
2022-10-11 01:57:18 +05:30
= dispensable_render_if_exists "projects/storage_enforcement_alert", context: @project
2022-08-27 11:52:29 +05:30
= dispensable_render_if_exists "shared/namespace_storage_limit_alert", context: @project
2022-08-13 15:12:31 +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
2023-05-27 22:25:52 +05:30
- content_for :before_content do
= render 'projects/invite_members_modal', project: @project
2022-10-11 01:57:18 +05:30
= dispensable_render_if_exists "shared/web_hooks/web_hook_disabled_alert"
2023-01-13 00:05:48 +05:30
= dispensable_render_if_exists "projects/free_user_cap_alert", project: @project
2023-06-20 00:43:36 +05:30
= dispensable_render_if_exists 'shared/unlimited_members_during_trial_alert', resource: @project
2022-10-11 01:57:18 +05:30
2015-09-11 14:41:01 +05:30
= render template: "layouts/application"