diff options
author | Tyler Kennedy | 2022-12-04 11:27:42 -0500 |
---|---|---|
committer | GitHub | 2022-12-04 09:27:42 -0700 |
commit | 50868971f7a1ad62940a53cba44e62c2d37a053d (patch) | |
tree | 1ad6812559f08bd945be53cffe92356e9ac1dde6 /templates/activities | |
parent | 8835fdee6b86118053840b69d49553b077d2d9f1 (diff) | |
download | takahe-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/activities')
-rw-r--r-- | templates/activities/home.html | 4 |
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 %} |