summaryrefslogtreecommitdiff
path: root/app/views/layouts/group.html.haml
blob: 95934f43a5185d54934b5ed80ef7f0e86ce64340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- 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"