forked from GithubBackups/vichan
view_ip.html: use user_posts_list.html
This commit is contained in:
parent
8d9ef728c0
commit
c0ce478bea
@ -1,17 +1,4 @@
|
|||||||
{% for board_posts in posts %}
|
{% if mod|hasPermission(config.mod.view_notes) and notes is not null %}
|
||||||
<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) %}
|
|
||||||
<fieldset id="notes">
|
<fieldset id="notes">
|
||||||
<legend>
|
<legend>
|
||||||
{% set notes_length = notes|length %}
|
{% set notes_length = notes|length %}
|
||||||
@ -146,6 +133,8 @@
|
|||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{{ include('mod/user_posts_list.html', {posts: posts}) }}
|
||||||
<div class="pages" style="margin-left: 50%">
|
<div class="pages" style="margin-left: 50%">
|
||||||
<a href="?/user_posts/ip/{{ ip }}">[Page 1]</a>
|
<a href="?/user_posts/ip/{{ ip }}">[Page 1]</a>
|
||||||
{% if cursor_prev %}
|
{% if cursor_prev %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user