view_ip.html: use user_posts_list.html

This commit is contained in:
Zankaria 2024-12-18 23:48:22 +01:00
parent d29de1a9ef
commit 39b6a60257

View file

@ -1,4 +1,4 @@
{% 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_on_record = 'note' ~ (notes|count != 1 ? 's' : '') ~ ' on record' %}
@ -201,18 +201,7 @@
</fieldset>
{% endif %}
{% 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 %}
{{ include('mod/user_posts_list.html', {posts: posts}) }}
<div class="pages" style="margin-left: 50%">
<a href="?/IP/{{ ip }}">[Page 1]</a>
{% if cursor_prev %}