harbor/views/navigation-header.htm

9 lines
347 B
HTML

{{ if eq .HasLoggedIn true }}
<ul class="nav-custom">
<li><a tag="dashboard" href="/dashboard">// 'dashboard' | tr //</a></li>
<li><a tag="project" href="/project">// 'projects' | tr //</a></li>
{{ if eq .IsAdmin 1 }}
<li><a tag="admin_option" href="/admin_option">// 'admin_options' | tr //</a></li>
{{ end }}
</ul>
{{ end }}