From 7faa4655f82b971cbc5ae6109c9f2eca3c96a921 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Fri, 30 Sep 2022 13:39:47 +1000 Subject: [PATCH] Make 'in reply to' more user-friendly by hiding the URL behind object type --- app/scss/main.scss | 1 - app/templates/utils.html | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/scss/main.scss b/app/scss/main.scss index 106e935..b629c35 100644 --- a/app/scss/main.scss +++ b/app/scss/main.scss @@ -415,7 +415,6 @@ a.label-btn { margin: 15px 0; padding: 20px; .in-reply-to { - color: $muted-color; &:hover { color: $secondary-color; text-decoration: underline; diff --git a/app/templates/utils.html b/app/templates/utils.html index 2760c48..19c1e78 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -376,9 +376,9 @@ {% endif %} {% if object.in_reply_to %} - - in reply to {{ object.in_reply_to|truncate(64, True) }} - +

in reply to + this {{ object.ap_type|lower }} +

{% endif %} {% if object.ap_type == "Article" %}