diff options
Diffstat (limited to 'templates/activities/_post.html')
-rw-r--r-- | templates/activities/_post.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html index eef09db..a5e637f 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -1,4 +1,5 @@ {% load static %} +{% load activity_tags %} <div class="post"> {% if post.author.icon_uri %} @@ -7,20 +8,20 @@ <img src="{% static "img/unknown-icon-128.png" %}" class="icon"> {% endif %} - <h3 class="author"> - <a href="{{ post.author.urls.view }}"> - {{ post.author.name_or_handle }} <small>@{{ post.author.handle }}</small> - </a> - </h3> <time> <a href="{{ post.urls.view }}"> {% if post.authored %} - {{ post.authored | timesince }} ago + {{ post.authored | timedeltashort }} {% else %} - {{ post.created | timesince }} ago + {{ post.created | timedeltashort }} {% endif %} </a> </time> + + <a href="{{ post.author.urls.view }}" class="handle"> + {{ post.author.name_or_handle }} <small>@{{ post.author.handle }}</small> + </a> + <div class="content"> {{ post.safe_content }} </div> |