Tidy up status display
This commit is contained in:
parent
b2baa39ff2
commit
aacba3e7cf
3 changed files with 18 additions and 9 deletions
10
fedireads/templates/snippets/status_banner.html
Normal file
10
fedireads/templates/snippets/status_banner.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue