<header>
<nav id="submenu">
<span><a href="{{ .Group.Rel }}">{{ .Group.Name }}</a></span>
{{ if .UserInfo }}{{ if .UserInfo.IsApproved }}
<span><a href="{{ .Group.Rel }}/newpost">new post</a></span>
{{ end }}{{ end }}
{{ if .Group.HasChat }}
<span><a href="{{ .Group.Rel }}/chat">chat</a></span>
{{ end }}
{{ if .Group.IsMod .UserInfo }}
<span><a href="{{ .Group.Rel }}/reports">reports</a></span>
{{ end }}
</nav>
</header>
