diff options
Diffstat (limited to 'app/views/layouts/_page.html.haml')
-rw-r--r-- | app/views/layouts/_page.html.haml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml index fe2c2e968e8..a7caa797a46 100644 --- a/app/views/layouts/_page.html.haml +++ b/app/views/layouts/_page.html.haml @@ -1,6 +1,4 @@ -- if show_super_sidebar? - - @left_sidebar = true -.layout-page.hide-when-top-nav-responsive-open{ class: page_with_sidebar_class } +.layout-page{ class: page_with_sidebar_class } - if show_super_sidebar? -# Render the parent group sidebar while creating a new subgroup/project, see GroupsController#new. - group = @parent_group || @group @@ -9,9 +7,6 @@ - sidebar_data = super_sidebar_context(current_user, group: group, project: @project, panel: sidebar_panel, panel_type: nav).to_json %aside.js-super-sidebar.super-sidebar.super-sidebar-loading{ data: { root_path: root_path, sidebar: sidebar_data, force_desktop_expanded_sidebar: @force_desktop_expanded_sidebar.to_s, command_palette: command_palette_data(project: @project).to_json } } - - if display_whats_new? - #whats-new-app{ data: { version_digest: whats_new_version_digest } } - = render_if_exists "layouts/tanuki_bot_chat" - elsif defined?(nav) && nav @@ -50,5 +45,3 @@ = yield :after_content -# This is needed by [GitLab JH](https://gitlab.com/gitlab-jh/jh-team/gitlab-cn/-/issues/81) = render_if_exists "shared/footer/global_footer" - -= render "layouts/nav/top_nav_responsive", class: 'layout-page' if !show_super_sidebar? || !current_user |