2016-12-02 07:38:54 +00:00
|
|
|
<div class="nav">
|
|
|
|
<ul>
|
|
|
|
<li class="menu_overview"><a href="/">Overview</a></li>
|
2016-12-03 13:45:08 +00:00
|
|
|
<li class="menu_forums"><a href="/forums/">Forums</a></li>
|
2016-12-02 07:38:54 +00:00
|
|
|
<li class="menu_topics"><a href="/">Topics</a></li>
|
|
|
|
<li class="menu_create_topic"><a href="/topics/create/">Create Topic</a></li>
|
|
|
|
{{ if .CurrentUser.Loggedin }}
|
2016-12-07 13:46:14 +00:00
|
|
|
<li class="menu_account"><a href="/user/edit/critical/">Account</a></li>
|
|
|
|
<li class="menu_account"><a href="/user/{{.CurrentUser.ID}}">Profile</a></li>
|
2016-12-09 13:46:29 +00:00
|
|
|
{{ if .CurrentUser.Is_Super_Mod}}<li class="menu_account"><a href="/panel/forums/">Panel</a></li>{{end}}
|
2016-12-02 07:38:54 +00:00
|
|
|
<li class="menu_logout"><a href="/accounts/logout?session={{.CurrentUser.Session}}">Logout</a></li>
|
|
|
|
{{ else }}
|
|
|
|
<li class="menu_register"><a href="/accounts/create/">Register</a></li>
|
|
|
|
<li class="menu_login"><a href="/accounts/login/">Login</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|