From 8d9ef728c066c80526acf1571c6048035b9b29d9 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 18 Dec 2024 23:48:07 +0100 Subject: [PATCH] user_posts_list.html: add template to list posts --- templates/mod/user_posts_list.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/mod/user_posts_list.html diff --git a/templates/mod/user_posts_list.html b/templates/mod/user_posts_list.html new file mode 100644 index 00000000..42ce4a68 --- /dev/null +++ b/templates/mod/user_posts_list.html @@ -0,0 +1,16 @@ +{% if posts|length == 0 %} +

{% trans %}There are no posts.{% endtrans %}

+{% else %} + {% for board_posts in posts %} +
+ + + {{ config.board_abbreviation|sprintf(board_posts.board.uri) }} + - + {{ board_posts.board.title|e }} + + + {{ board_posts.posts|join('
') }} +
+ {% endfor %} +{% endif %}