Jan Dittberner
a1a66b7245
- rename config block mail_server to mail_config - rename smtp server settings - move mail notification settings to mail_config - improve navigation templates - prepare routes for user management
25 lines
875 B
HTML
25 lines
875 B
HTML
{{ define "title" }}CAcert Board Decisions{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ $page := . }}
|
|
{{ $user := .User }}
|
|
{{ if .Motions }}
|
|
{{ template "pagination" $page }}
|
|
{{ range .Motions }}
|
|
<div class="ui raised segment">
|
|
{{ template "motion_display" . }}
|
|
{{ if $user }}{{ template "motion_actions" . }}{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
{{ template "pagination" $page }}
|
|
{{ else }}
|
|
<div class="ui basic segment">
|
|
<div class="ui icon message">
|
|
<i class="inbox icon"></i>
|
|
<div class="content">
|
|
<div class="header">{{ if eq .ActiveSubNav "unvoted-motions" }}No unvoted motions available.{{ else }}No motions available.{{ end }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|