Tidy up status display

This commit is contained in:
Mouse Reeve
2020-02-19 18:41:37 -08:00
parent b2baa39ff2
commit aacba3e7cf
3 changed files with 18 additions and 9 deletions

View File

@ -0,0 +1,10 @@
{% load humanize %}
<h2>
{% include 'snippets/avatar.html' with user=activity.user %}
{% include 'snippets/username.html' with user=activity.user %}
{{ content | safe }}
<span class="time-ago">
{{ activity.created_date | naturaltime }}
</span>
</h2>