aboutsummaryrefslogtreecommitdiff
path: root/app/templates/macros/threads.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-11 23:20:18 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-11 23:20:18 +0100
commit86dd137f75e8461908e34645ebde9ba27fd96078 (patch)
tree666af7904ed7e57465cbc80d318a2639c5485d3d /app/templates/macros/threads.html
parentb48f684c0a4cbe7f5818a65708f54e6b66155d35 (diff)
downloadcheatdb-86dd137f75e8461908e34645ebde9ba27fd96078.tar.xz
Add dates to comments
Diffstat (limited to 'app/templates/macros/threads.html')
-rw-r--r--app/templates/macros/threads.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html
index bd6fa44..b74edda 100644
--- a/app/templates/macros/threads.html
+++ b/app/templates/macros/threads.html
@@ -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>