Blame view
client/templates/globals/header.html
770 Bytes
39a8af161
|
1 2 3 4 |
<template name="header"> <nav class="navbar navbar-default" role="navigation"> <div class="container"> <div class="navbar-header"> |
0ccda7775
|
5 |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse"> |
39a8af161
|
6 7 8 9 10 |
<span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> |
3c77b41ea
|
11 |
<a class="navbar-brand" href="{{pathFor 'index'}}">Application Name</a> |
39a8af161
|
12 |
</div> |
0ccda7775
|
13 |
<div id="navbar-collapse" class="collapse navbar-collapse"> |
39a8af161
|
14 |
{{#if currentUser}} |
0ccda7775
|
15 |
{{> authenticatedNavigation}} |
1e689461f
|
16 |
{{else}} |
0ccda7775
|
17 |
{{> publicNavigation}} |
39a8af161
|
18 |
{{/if}} |
0ccda7775
|
19 20 |
</div> </div> |
39a8af161
|
21 |
</nav> |
45fadbd0b
|
22 |
</template> |