9ab43aa762
When the database is in a read-only state, display a banner on each page informing the user they cannot write to that GitLab instance. Closes gitlab-org/gitlab-ce#43937.
16 lines
606 B
Text
16 lines
606 B
Text
.layout-page{ class: page_with_sidebar_class }
|
|
- if defined?(nav) && nav
|
|
= render "layouts/nav/sidebar/#{nav}"
|
|
.content-wrapper{ class: "#{@content_wrapper_class}" }
|
|
= render 'shared/outdated_browser'
|
|
.mobile-overlay
|
|
.alert-wrapper
|
|
= render "layouts/broadcast"
|
|
= render 'layouts/header/read_only_banner'
|
|
= yield :flash_message
|
|
- unless @hide_breadcrumbs
|
|
= render "layouts/nav/breadcrumbs"
|
|
= render "layouts/flash"
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
|
.content{ id: "content-body" }
|
|
= yield
|