view_ip.html: use mod_user_posts_by_ip

This commit is contained in:
Zankaria 2024-12-18 23:50:53 +01:00
parent 39b6a60257
commit 2ec23083a4

View file

@ -203,11 +203,11 @@
{{ include('mod/user_posts_list.html', {posts: posts}) }} {{ include('mod/user_posts_list.html', {posts: posts}) }}
<div class="pages" style="margin-left: 50%"> <div class="pages" style="margin-left: 50%">
<a href="?/IP/{{ ip }}">[Page 1]</a> <a href="?/user_posts/ip/{{ ip }}">[Page 1]</a>
{% if cursor_prev %} {% if cursor_prev %}
<a href="?/IP/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a> <a href="?/user_posts/ip/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a>
{% endif %} {% endif %}
{% if cursor_next %} {% if cursor_next %}
<a href="?/IP/{{ ip }}/cursor/{{ cursor_next }}">[Next Page]</a> <a href="?/user_posts/ip/{{ ip }}/cursor/{{ cursor_next }}">[Next Page]</a>
{% endif %} {% endif %}
</div> </div>