diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2021-01-13 11:00:03 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2021-01-13 11:00:03 +0300 |
commit | 28df6ddadb0bf57ab251b5c86093c0f1e9d06596 (patch) | |
tree | 7952e38c9ea764256ed7734b990c6d40df895e96 /layouts/default.html | |
parent | a75621454ed1df6425afa7ff7a08d44b350e92a6 (diff) |
Add helper for production and default branch
This ought to be used when we don't want to deploy things in
the stable branches, since they are considered production.
Diffstat (limited to 'layouts/default.html')
-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> |