summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--static/css/style.css7
-rw-r--r--templates/activities/home.html4
2 files changed, 11 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 637fc2f..0e37c71 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -968,6 +968,13 @@ table.metadata td.name {
margin-right: 4px;
}
+.boost-banner time {
+ float: right;
+ display: block;
+ color: var(--color-text-duller);
+ border-radius: 3px;
+}
+
.mention-banner::before {
content: "\0040";
font: var(--fa-font-solid);
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 %}