summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/_post.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html
index 2ac57f3..eef09db 100644
--- a/templates/activities/_post.html
+++ b/templates/activities/_post.html
@@ -13,7 +13,13 @@
</a>
</h3>
<time>
- <a href="{{ post.urls.view }}">{{ post.created | timesince }} ago</a>
+ <a href="{{ post.urls.view }}">
+ {% if post.authored %}
+ {{ post.authored | timesince }} ago
+ {% else %}
+ {{ post.created | timesince }} ago
+ {% endif %}
+ </a>
</time>
<div class="content">
{{ post.safe_content }}