mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24: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 %}
|
{% 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 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 %}
|
{% if obj | url_or_id | get_url | is_from_outbox %}
|
||||||
<a class="bar-item" href="{{ obj | url_or_id | get_url }}">permalink</a>
|
<a class="bar-item" href="{{ obj | url_or_id | get_url }}">permalink</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue