summaryrefslogtreecommitdiffstats
path: root/templates/activities/_post.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-13 16:14:38 -0700
committerAndrew Godwin2022-11-13 16:15:14 -0700
commit34b24a0dcb044cb755e201ad1a83253d0690e78e (patch)
tree51e6842d9e1392fafcd617cf4de0fa7e28397c87 /templates/activities/_post.html
parent5a8b6bb3d022a532562ad5fa6d629cfc48c51b46 (diff)
downloadtakahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.gz
takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.tar.bz2
takahe-34b24a0dcb044cb755e201ad1a83253d0690e78e.zip
More UI!
Diffstat (limited to 'templates/activities/_post.html')
-rw-r--r--templates/activities/_post.html15
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>