mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05: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 %}
|
||||
{% 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