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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2021-01-13 11:00:03 +0300
committerMarcel Amirault <mamirault@gitlab.com>2021-01-13 11:00:03 +0300
commit22fd7bd39d588725de29121dd196cd3fdc4ee3b8 (patch)
tree1df743321f250171cba9caa35b99170af625f340 /layouts
parent9c9fe3a3c7934e7681bf30d39f7bd139233fe9f7 (diff)
parent28df6ddadb0bf57ab251b5c86093c0f1e9d06596 (diff)
Merge branch 'helper-prod-default-branch' into 'master'
Add helper for production and default branch See merge request gitlab-org/gitlab-docs!1422
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html
index fc53ca9b..5398b516 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -29,7 +29,7 @@
</div>
<div class="row">
<div class="col">
- <% if @config[:show_banner] %>
+ <% if @config[:show_banner] and production_and_default_branch? %>
<div class="d-lg-block">
<%= render '/banner.*' %>
</div>