From c0ce478bea1c13b15f88dcdac6bf349ec2211eb4 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 18 Dec 2024 23:48:22 +0100 Subject: [PATCH] view_ip.html: use user_posts_list.html --- templates/mod/view_ip.html | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index 958d75f0..7dbdf8a2 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -1,17 +1,4 @@ -{% for board_posts in posts %} -
- - - {{ config.board_abbreviation|sprintf(board_posts.board.uri) }} - - - {{ board_posts.board.title|e }} - - - {{ board_posts.posts|join('
') }} -
-{% endfor %} - -{% if mod|hasPermission(config.mod.view_notes) %} +{% if mod|hasPermission(config.mod.view_notes) and notes is not null %}
{% set notes_length = notes|length %} @@ -146,6 +133,8 @@
{% endif %} + +{{ include('mod/user_posts_list.html', {posts: posts}) }}
[Page 1] {% if cursor_prev %}