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 %} -
-{% endfor %} - -{% if mod|hasPermission(config.mod.view_notes) %} +{% if mod|hasPermission(config.mod.view_notes) and notes is not null %} {% endif %} + +{{ include('mod/user_posts_list.html', {posts: posts}) }}