Display updated times in forums
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<h3>Latest Posts</h3>
|
||||
<ul>
|
||||
{% for post in latestForumPosts %}
|
||||
<li>{{post.user}} in <a href="{{post.topic.get_absolute_url}}">{{post.topic}}</a></li>
|
||||
<li>{{post.user}} in <a href="{{post.topic.lastPost.get_absolute_url}}">{{post.topic}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
</ul></td>
|
||||
<td>{{ f.topicCount }}</td>
|
||||
{% if f.freshestTopic%}
|
||||
<td class="author-info"><div class="avatar">{% avatar f.freshestTopic.lastPost.user 32 %}</div><ul><li>{{f.freshestTopic.lastPost.user}}</li><li>{{f.freshestTopic.created|timesince}} ago</li><li>In <em><a href="{{f.freshestTopic.get_absolute_url}}">{{f.freshestTopic}}</a></em></ul></td>
|
||||
<td class="author-info"><div class="avatar">{% avatar f.freshestTopic.lastPost.user 32 %}</div><ul><li>{{f.freshestTopic.lastPost.user}}</li><li>{{f.freshestTopic.updated|timesince}} ago</li><li>In <em><a href="{{f.freshestTopic.lastPost.get_absolute_url}}">{{f.freshestTopic}}</a></em></ul></td>
|
||||
{% else %}
|
||||
<td><em>No posts...</em></td>
|
||||
{% endif %}
|
||||
|
@@ -10,6 +10,10 @@
|
||||
</div>
|
||||
<div class="dateline">
|
||||
Posted {{post.created}}
|
||||
{% if post.created != post.updated %}
|
||||
<br />
|
||||
Edited {{post.updated}}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="forum-post-content">
|
||||
{{post.body|markdown:"safe"}}
|
||||
|
@@ -16,7 +16,7 @@
|
||||
<div class="topic">
|
||||
<div class="avatar">{% avatar topic.rootPost.user 32 %}</div>
|
||||
<h2>{{topic.title}}</h2>
|
||||
<div class="byline">Started by <span itemprop="author">{{topic.rootPost.user}}</span> {{ topic.created|timesince }} ago</div>
|
||||
<div class="byline">Started by <span itemprop="author">{{topic.rootPost.user}}</span> {{ topic.created|timesince }} ago.<br />Last updated {{topic.updated|timesince}} ago.</div>
|
||||
{% if perms.forums %}
|
||||
<ul>
|
||||
{% if perms.forums.delete_topic %}
|
||||
|
Reference in New Issue
Block a user