Fix admin in reply to link

This commit is contained in:
Thomas Sileo 2022-09-01 21:00:14 +02:00
parent 5f20eab3f1
commit d5c27287af
2 changed files with 8 additions and 1 deletions

View file

@ -365,7 +365,7 @@
{% endif %}
{% if object.in_reply_to %}
<a href="{% if is_admin and object.is_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
<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) }}
</a>
{% endif %}