Add gitlab staging

This commit is contained in:
Martin Lensment 2015-01-08 11:47:04 +02:00
parent ab7ec778dc
commit ec535d416f

View file

@ -22,7 +22,10 @@
%span.icon-bar %span.icon-bar
= link_to root_path, class: 'navbar-brand' do = link_to root_path, class: 'navbar-brand' do
= APP_CONFIG['app_name'] = 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 .text-center
%small{style: 'color: #D10000;'}= Rails.env.upcase %small{style: 'color: #D10000;'}= Rails.env.upcase
- elsif Rails.env.staging? - elsif Rails.env.staging?