Jan Dittberner
ff93acb65c
- fix typo in nav.html and template functions - implement template cache and render function - refactor motion list methods to reduce cyclomatic complexity
8 lines
No EOL
232 B
HTML
8 lines
No EOL
232 B
HTML
{{ define "nav" }}
|
|
{{ if .Voter | canManageUsers }}
|
|
<nav class="ui top attached tabular menu">
|
|
<a class="active item" href="/motions/">Motions</a>
|
|
<a class="item" href="/users/">User management</a>
|
|
</nav>
|
|
{{ end }}
|
|
{{ end }} |