You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
876 B
HTML
26 lines
876 B
HTML
{{ define "title" }}Board Decisions{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ $page := . }}
|
|
{{ $user := .User }}
|
|
{{ if .Motions }}
|
|
{{ template "pagination" $page }}
|
|
{{ range .Motions }}
|
|
<div class="ui raised segment">
|
|
{{ template "motion_display" . }}
|
|
{{ if canVote $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 }}
|