forked from leftypol/leftypol
view_ip.html: add links to previous and next cursors
This commit is contained in:
parent
82463bb720
commit
b9081be4ac
1 changed files with 13 additions and 4 deletions
|
@ -213,3 +213,12 @@
|
|||
{{ board_posts.posts|join('<hr>') }}
|
||||
</fieldset>
|
||||
{% endfor %}
|
||||
<div class="pages" style="margin-left: 50%">
|
||||
<a href="?/IP/{{ ip }}">[Page 1]</a>
|
||||
{% if cursor_prev %}
|
||||
<a href="?/IP/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a>
|
||||
{% endif %}
|
||||
{% if cursor_next %}
|
||||
<a href="?/IP/{{ ip }}/cursor/{{ cursor_next }}">[Next Page]</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue