summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorTyler Kennedy2022-12-04 11:27:42 -0500
committerGitHub2022-12-04 09:27:42 -0700
commit50868971f7a1ad62940a53cba44e62c2d37a053d (patch)
tree1ad6812559f08bd945be53cffe92356e9ac1dde6 /templates
parent8835fdee6b86118053840b69d49553b077d2d9f1 (diff)
downloadtakahe-50868971f7a1ad62940a53cba44e62c2d37a053d.tar.gz
takahe-50868971f7a1ad62940a53cba44e62c2d37a053d.tar.bz2
takahe-50868971f7a1ad62940a53cba44e62c2d37a053d.zip
Show time-since next to 'XYZ boosted' on the home timeline. (#93)
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/home.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/activities/home.html b/templates/activities/home.html
index 5171842..d574e2a 100644
--- a/templates/activities/home.html
+++ b/templates/activities/home.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load activity_tags %}
{% block title %}Home{% endblock %}
@@ -11,6 +12,9 @@
<a href="{{ event.subject_identity.urls.view }}">
{{ event.subject_identity.name_or_handle }}
</a> boosted
+ <time>
+ {{ event.subject_post_interaction.published | timedeltashort }} ago
+ </time>
</div>
{% include "activities/_post.html" with post=event.subject_post %}
{% endif %}