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.
20 lines
789 B
HTML
20 lines
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 }} |