From e959085d38a67da0226b94e88799aada938eaa1a Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 27 Aug 2022 09:14:16 +0200 Subject: [PATCH] Improve shares on homepage --- app/scss/main.scss | 3 +++ app/templates/index.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/scss/main.scss b/app/scss/main.scss index f02b091..aa38a78 100644 --- a/app/scss/main.scss +++ b/app/scss/main.scss @@ -120,6 +120,9 @@ dl { strong { color: $primary-color; } + span { + color: $muted-color; + } } div.highlight { diff --git a/app/templates/index.html b/app/templates/index.html index 4d0bcfe..0a65cf7 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -29,7 +29,7 @@ {% if outbox_object.ap_type in ["Note", "Article", "Video", "Question"] %} {{ utils.display_object(outbox_object) }} {% elif outbox_object.ap_type == "Announce" %} -
{{ utils.display_tiny_actor_icon(local_actor) }} {{ local_actor.display_name | clean_html(local_actor) | safe }} shared
+
{{ utils.display_tiny_actor_icon(local_actor) }} {{ local_actor.display_name | clean_html(local_actor) | safe }} shared {{ outbox_object.ap_published_at | timeago }}
{{ utils.display_object(outbox_object.relates_to_anybox_object) }} {% endif %} {% endfor %}