cacert-boardvoting/ui/html/partials/pagination.html
Jan Dittberner a1a66b7245 Finish new motion create implementation
- 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
2022-05-26 15:27:25 +02:00

20 lines
No EOL
789 B
HTML

{{ define "pagination" }}
{{ if or .PrevPage .NextPage }}
<div class="ui labeled icon menu">
{{ if .PrevPage -}}
<a class="item"
href="?after={{ .PrevPage }}{{ if eq .ActiveSubNav "unvoted-motions" }}&unvoted=1{{ end }}"
title="newer motions">
<i class="left arrow icon"></i> newer
</a>
{{- end }}
{{ if .NextPage -}}
<a class="right item"
href="?before={{ .NextPage }}{{ if eq .ActiveSubNav "unvoted-motions" }}&unvoted=1{{ end }}"
title="older motions">
<i class="right arrow icon"></i> older
</a>
{{- end }}
</div>
{{ end }}
{{ end }}