summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorraven <raven>2021-06-18 21:38:54 +0000
committerraven <raven>2021-06-18 21:38:54 +0000
commit4f75e30d9584566dca8f3c67a9451c22839d9da1 (patch)
tree5b898860a0f6ab786b7867e5bf6ce59e6c212be9 /apioforum/templates
parent8bf3a017837dfaae0210cfd0d7a7d75ae6a1d45c (diff)
recent posts
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/view_user.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/apioforum/templates/view_user.html b/apioforum/templates/view_user.html
index c9d9c1c..93618a5 100644
--- a/apioforum/templates/view_user.html
+++ b/apioforum/templates/view_user.html
@@ -19,4 +19,14 @@
{% endif %}
</dl>
</div>
+{% if posts %}
+ <h2>recent posts</h2>
+ <div class="user_posts">
+ {% for post in posts %}
+ {% call disp_post(post, False) %}
+ {{ rendered_posts[loop.index0] | safe}}
+ {% endcall %}
+ {% endfor %}
+ </div>
+{% endif %}
{% endblock %}