mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
allow to navigate to deleted posts
This commit is contained in:
parent
d348bb5973
commit
df3994e484
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
<div class="row">
|
||||
<div class="col-12 hidable">
|
||||
{% if post_reply.post.deleted: -%}
|
||||
reply to: [deleted post]
|
||||
reply to: <a href="{{ url_for('activitypub.post_ap', post_id=post_reply.post.id, _anchor='comment_' + str(post_reply.id)) }}">[deleted post]</a>
|
||||
{% else -%}
|
||||
reply to: <a href="{{ url_for('activitypub.post_ap', post_id=post_reply.post.id, _anchor='comment_' + str(post_reply.id)) }}">{{ post_reply.post.title | truncate(80, True) }}</a>
|
||||
{% endif -%}
|
||||
|
|
Loading…
Reference in a new issue