diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2021-01-13 11:00:03 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2021-01-13 11:00:03 +0300 |
commit | 22fd7bd39d588725de29121dd196cd3fdc4ee3b8 (patch) | |
tree | 1df743321f250171cba9caa35b99170af625f340 /layouts | |
parent | 9c9fe3a3c7934e7681bf30d39f7bd139233fe9f7 (diff) | |
parent | 28df6ddadb0bf57ab251b5c86093c0f1e9d06596 (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.html | 2 |
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> |