Merge pull request #1165 from coreos-inc/enterprisebar

Only include the global nav when billing is enabled
This commit is contained in:
josephschorr 2016-01-25 10:57:05 -05:00
commit efb4a1523b

View file

@ -88,8 +88,9 @@ mixpanel.init("{{ mixpanel_key }}", { track_pageview : false, debug: {{ is_debug
</head> </head>
<body ng-class="pageClass + ' ' + (user.anonymous ? 'anon' : 'signedin')" class="co-img-bg-network"> <body ng-class="pageClass + ' ' + (user.anonymous ? 'anon' : 'signedin')" class="co-img-bg-network">
<div id="co-l-footer-wrapper"> <div id="co-l-footer-wrapper">
{% if has_billing %}
<!-- Global Nav --> <!-- Global Nav -->
<div class="co-m-global-nav" quay-require="['BILLING']"> <div class="co-m-global-nav">
<div class="col-lg-6 col-md-6 col-sm-6 co-m-global-nav-left"> <div class="col-lg-6 col-md-6 col-sm-6 co-m-global-nav-left">
<div class="co-m-global-nav-item"> <div class="co-m-global-nav-item">
<a href="https://coreos.com/" data-category="Global Navigation" data-event"coreos.com"> <a href="https://coreos.com/" data-category="Global Navigation" data-event"coreos.com">
@ -192,6 +193,7 @@ mixpanel.init("{{ mixpanel_key }}", { track_pageview : false, debug: {{ is_debug
</div> </div>
</div> </div>
<!-- /Global Nav --> <!-- /Global Nav -->
{% endif %}
<nav class="navbar navbar-default header-bar co-m-navbar co-fx-box-shadow" role="navigation"></nav> <nav class="navbar navbar-default header-bar co-m-navbar co-fx-box-shadow" role="navigation"></nav>
<div class="quay-service-status-bar" quay-require="['BILLING']"></div> <div class="quay-service-status-bar" quay-require="['BILLING']"></div>