mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2024-12-26 15:53:54 +01:00
Added local-only toot display support
If the API returns a toot with the local_only property set to true: Adds a "(local only)" text to the visibility. Tested to work on Glitch-Soc and Hometown, and not break on Vanilla
This commit is contained in:
parent
6d7d8d936a
commit
cdc199532d
@ -214,7 +214,11 @@
|
||||
delete
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ toot.visibility }}
|
||||
{% if toot.local_only %}
|
||||
{{ toot.visibility }} (local-only)
|
||||
{% else %}
|
||||
{{ toot.visibility }}
|
||||
{% endif %}
|
||||
|
||||
{% if toot.in_reply_to_id or toot.replies_count > 0 %}
|
||||
<a class="level-item" href="{% url "thread" toot.id %}#toot-{{ toot.id }}">
|
||||
|
Loading…
Reference in New Issue
Block a user