debian-mirror-gitlab/app/views/layouts/group.html.haml
2023-01-12 18:35:48 +00:00

21 lines
779 B
Text

- page_title @group.name
- page_description @group.description_html unless page_description
- header_title group_title(@group) unless header_title
- nav "group"
- display_subscription_banner!
- @left_sidebar = true
- base_layout = local_assigns[:base_layout]
- content_for :flash_message do
= dispensable_render_if_exists "groups/storage_enforcement_alert", context: @group
= dispensable_render_if_exists "shared/namespace_storage_limit_alert", context: @group
- content_for :page_specific_javascripts do
- if current_user
= javascript_tag do
:plain
window.uploads_path = "#{group_uploads_path(@group)}";
= dispensable_render_if_exists "shared/free_user_cap_alert", source: @group
= render template: base_layout || "layouts/application"