mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Fix the thread button
This commit is contained in:
parent
3a141795e6
commit
36bc93cfda
1 changed files with 4 additions and 2 deletions
|
@ -342,9 +342,11 @@ self reply
|
|||
|
||||
{% endif %}
|
||||
|
||||
{% if session.logged_in and obj.inReplyTo and not meta.count_reply and not perma %}
|
||||
<a class="bar-item" href="/admin/thread?oid={{aid}}">thread</a>
|
||||
{% endif %}
|
||||
|
||||
{% if meta.object_visibility | visibility_is_public %}
|
||||
{% if obj.inReplyTo and not meta.count_reply and not perma %}
|
||||
<a class="bar-item" href="/admin/thread?oid={{aid}}">thread</a>{% endif %}
|
||||
{% if obj | url_or_id | get_url | is_from_outbox %}
|
||||
<a class="bar-item" href="{{ obj | url_or_id | get_url }}">permalink</a>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue