Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/group.html.haml')
-rw-r--r--app/views/layouts/group.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/layouts/group.html.haml b/app/views/layouts/group.html.haml
index 67809cbc608..97c2b8bb7e3 100644
--- a/app/views/layouts/group.html.haml
+++ b/app/views/layouts/group.html.haml
@@ -4,9 +4,10 @@
- nav "group"
- display_subscription_banner!
- @left_sidebar = true
+- base_layout = local_assigns[:base_layout]
- content_for :flash_message do
- = render "layouts/header/storage_enforcement_banner", context: @group
+ = 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
@@ -15,4 +16,4 @@
:plain
window.uploads_path = "#{group_uploads_path(@group)}";
-= render template: "layouts/application"
+= render template: base_layout || "layouts/application"