2022-05-26 14:47:57 +00:00
|
|
|
{{ define "title" }}Board Decisions{{ end }}
|
2022-05-09 19:09:24 +00:00
|
|
|
|
|
|
|
{{ define "main" }}
|
2022-05-26 13:27:25 +00:00
|
|
|
{{ $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>
|
2022-05-21 17:18:17 +00:00
|
|
|
</div>
|
2022-05-26 13:27:25 +00:00
|
|
|
{{ end }}
|
2022-05-21 17:18:17 +00:00
|
|
|
{{ end }}
|