Show create/modify/update time

This commit is contained in:
David Hoppenbrouwers
2022-10-07 23:30:05 +02:00
parent dc2fbde8ab
commit 1eb77bc340
7 changed files with 156 additions and 24 deletions

View File

@@ -6,10 +6,18 @@
<table>
<tr>
<th>Topic</th>
<th>Author</th>
<th>Created</th>
<th>Updated</th>
<th>Comments</th>
</tr>
{% for id, title in threads %}
{% for id, title, ctime, utime, author_id, author, comment_count in threads %}
<tr>
<th><a href="{{ url_for('thread', thread_id = id) }}">{{ title }}</a></th>
<td><a href="{{ url_for('user_info', user_id = author_id) }}">{{ author }}</a></td>
<td>{{ format_since(ctime) }}</td>
<td>{{ format_since(utime) }}</td>
<td>{{ comment_count }}</td>
</tr>
{% endfor %}
</table>