Parent: [f6d8a7] (diff)

Download this file

main_menu.html    15 lines (15 with data), 516 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<div class="nav">
<div id="mainmenu" class="row">
<div class="column grid_2"><a href="/" class="logo">&nbsp;</a></div>
<div class="column grid_10 tright">
{% if c.user and c.user._id %}
<a href="/account/">Account</a>
<a href="/users/{{c.user.username}}">{{c.user.display_name}}</a>
<a href="/auth/logout">Log Out</a>
{% else %}
<a href="/auth/create_account">Register</a>
<a href="{{g.login_url}}">Log In</a>
{% endif %}
</div>
</div>
</div>