- Always show the tour link in the header

- Have organizations link to the tour when a user is not part of an org
This commit is contained in:
Joseph Schorr 2014-05-21 14:45:54 -04:00
parent f1066f1dd9
commit 8117c5ead9

View file

@ -11,12 +11,12 @@
<!-- Collapsable stuff -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-links">
<li ng-if="user.anonymous"><a ng-href="/tour/" target="{{ appLinkTarget() }}">Tour</a></li>
<li><a ng-href="/tour/" target="{{ appLinkTarget() }}">Tour</a></li>
<li><a ng-href="/repository/" target="{{ appLinkTarget() }}">Repositories</a></li>
<li><a href="http://docs.quay.io/" target="_blank">Docs</a></li>
<li><a ng-href="/tutorial/" target="{{ appLinkTarget() }}">Tutorial</a></li>
<li quay-require="['BILLING']"><a ng-href="/plans/" target="{{ appLinkTarget() }}">Pricing</a></li>
<li><a ng-href="/organizations/" target="{{ appLinkTarget() }}">Organizations</a></li>
<li><a ng-href="{{ user.organizations.length ? '/organizations/' : '/tour/organizations/' }}" target="{{ appLinkTarget() }}">Organizations</a></li>
</ul>