Add dates to comments

This commit is contained in:
rubenwardy
2018-06-11 23:20:18 +01:00
parent b48f684c0a
commit 86dd137f75
2 changed files with 22 additions and 6 deletions

View File

@@ -2,8 +2,13 @@
<ul class="comments">
{% for r in thread.replies %}
<li>
<a class="author {{ r.author.rank.name }}"
href="{{ url_for('user_profile_page', username=r.author.username) }}">{{ r.author.display_name }}</a>
<div class="info_strip">
<a class="author {{ r.author.rank.name }}"
href="{{ url_for('user_profile_page', username=r.author.username) }}">
{{ r.author.display_name }}</a>
<span>{{ r.created_at | datetime }}</span>
<div class="clearboth"></div>
</div>
<div class="msg">
{{ r.comment }}
</div>