diff options
author | ubq323 <ubq323> | 2021-05-23 20:23:54 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-05-23 20:23:54 +0000 |
commit | 78bee4ec778947df35fa47e29282a60aec5a7acd (patch) | |
tree | 533cd1e3b9aad1e84aa0fe21dea8ecac177a2550 /apioforum/templates/view_thread.html | |
parent | eb298f0c63eb6ac5547a6a7a0086e5e086ad5abc (diff) |
threads etc
Diffstat (limited to 'apioforum/templates/view_thread.html')
-rw-r--r-- | apioforum/templates/view_thread.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html index 34faeea..ebbcd3b 100644 --- a/apioforum/templates/view_thread.html +++ b/apioforum/templates/view_thread.html @@ -8,11 +8,16 @@ <p>by {{thread.creator}}</p> <dl> {% for post in posts %} -<dt>{{post.author}}</dt> +<dt>{{post.author}} {{post.created}}</dt> <dd>{{post.content}}</dd> {% else %} <dt>there weren't</dt> <dd>any posts</dd> {% endfor %} </dl> +{% if g.user %} +<p>loggedi n as {{ g.user }}</p> +{% else %} +<p>not logged in</p> +{% endif %} {% endblock %} |