Make 'in reply to' more user-friendly by hiding the URL behind object type

main
Miguel Jacq 2022-09-30 13:39:47 +10:00 committed by Thomas Sileo
parent cf6a891349
commit 7faa4655f8
2 changed files with 3 additions and 4 deletions

View File

@ -415,7 +415,6 @@ a.label-btn {
margin: 15px 0; margin: 15px 0;
padding: 20px; padding: 20px;
.in-reply-to { .in-reply-to {
color: $muted-color;
&:hover { &:hover {
color: $secondary-color; color: $secondary-color;
text-decoration: underline; text-decoration: underline;

View File

@ -376,9 +376,9 @@
{% endif %} {% endif %}
{% if object.in_reply_to %} {% if object.in_reply_to %}
<a href="{% if is_admin and object.is_in_reply_to_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow"> <p>in reply to <a href="{% if is_admin and object.is_in_reply_to_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
in reply to {{ object.in_reply_to|truncate(64, True) }} this {{ object.ap_type|lower }}
</a> </a></p>
{% endif %} {% endif %}
{% if object.ap_type == "Article" %} {% if object.ap_type == "Article" %}