debian-mirror-gitlab/app/views/layouts/group.html.haml
2022-10-11 01:57:18 +05:30

19 lines
702 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)}";
= render template: base_layout || "layouts/application"