Only include the global nav when billing is enabled
Makes pages load faster for enterprise and not have a flicker
This commit is contained in:
parent
463c8e4dc8
commit
10d5fd2f6b
1 changed files with 3 additions and 1 deletions
|
@ -88,8 +88,9 @@ mixpanel.init("{{ mixpanel_key }}", { track_pageview : false, debug: {{ is_debug
|
|||
</head>
|
||||
<body ng-class="pageClass + ' ' + (user.anonymous ? 'anon' : 'signedin')" class="co-img-bg-network">
|
||||
<div id="co-l-footer-wrapper">
|
||||
{% if has_billing %}
|
||||
<!-- 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="co-m-global-nav-item">
|
||||
<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>
|
||||
<!-- /Global Nav -->
|
||||
{% endif %}
|
||||
|
||||
<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>
|
||||
|
|
Reference in a new issue