mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Add gitlab staging
This commit is contained in:
parent
ab7ec778dc
commit
ec535d416f
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@
|
|||
%span.icon-bar
|
||||
= link_to root_path, class: 'navbar-brand' do
|
||||
= APP_CONFIG['app_name']
|
||||
- if Rails.env.development?
|
||||
- if request.host == 'registry.gitlab.eu'
|
||||
.text-center
|
||||
%small{style: 'color: #0074B3;'} GITLAB STAGING
|
||||
- elsif Rails.env.development?
|
||||
.text-center
|
||||
%small{style: 'color: #D10000;'}= Rails.env.upcase
|
||||
- elsif Rails.env.staging?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue