From 50868971f7a1ad62940a53cba44e62c2d37a053d Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sun, 4 Dec 2022 11:27:42 -0500 Subject: Show time-since next to 'XYZ boosted' on the home timeline. (#93) --- static/css/style.css | 7 +++++++ templates/activities/home.html | 4 ++++ 2 files changed, 11 insertions(+) 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 @@ {{ event.subject_identity.name_or_handle }} boosted + {% include "activities/_post.html" with post=event.subject_post %} {% endif %} -- cgit v1.2.3