app/cyclid_ui/templates/layout.mustache in cyclid-ui-0.2.1 vs app/cyclid_ui/templates/layout.mustache in cyclid-ui-0.2.2
- old
+ new
@@ -46,20 +46,24 @@
<ul class="dropdown-menu">
{{#organizations}}
<li><a href="/{{.}}">{{.}}</a></li>
{{/organizations}}
{{#signup}}
+ {{#organization}}
<li role="separator" class="divider"></li>
+ {{/organization}}
<li><a href="{{signup}}/organization" target="_blank">Create a new Organization</a></li>
{{/signup}}
</ul>
</li>
</ul>
+ {{#organization}}
<ul class="nav navbar-nav">
<li><a href="/{{organization}}">Jobs</a></li>
<li><a href="/{{organization}}/config">Configuration</a></li>
</ul>
+ {{/organization}}
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{username}} <span class="caret"></span></a>
<ul class="dropdown-menu">