view_ip.html: use user_posts_list.html

This commit is contained in:
Zankaria 2024-12-18 23:48:22 +01:00
parent 8d9ef728c0
commit c0ce478bea

View File

@ -1,17 +1,4 @@
{% for board_posts in posts %}
<fieldset>
<legend>
<a href="?/{{ config.board_path|sprintf(board_posts.board.uri) }}{{ config.file_index }}">
{{ config.board_abbreviation|sprintf(board_posts.board.uri) }}
-
{{ board_posts.board.title|e }}
</a>
</legend>
{{ board_posts.posts|join('<hr>') }}
</fieldset>
{% endfor %}
{% if mod|hasPermission(config.mod.view_notes) %}
{% if mod|hasPermission(config.mod.view_notes) and notes is not null %}
<fieldset id="notes">
<legend>
{% set notes_length = notes|length %}
@ -146,6 +133,8 @@
</table>
</fieldset>
{% endif %}
{{ include('mod/user_posts_list.html', {posts: posts}) }}
<div class="pages" style="margin-left: 50%">
<a href="?/user_posts/ip/{{ ip }}">[Page 1]</a>
{% if cursor_prev %}