Hide source button when an activity is not public

This commit is contained in:
Thomas Sileo 2019-08-27 00:24:16 +02:00
parent ab623b0f3a
commit bb62ebc2bc

View file

@ -321,6 +321,7 @@
{% endif %}
{% if meta.object_visibility | visibility_is_public %}
{% if obj | url_or_id | is_from_outbox %}
<a class="bar-item" href="{{ obj | url_or_id | get_url }}">permalink</a>
{% else %}
@ -329,6 +330,7 @@
{% if session.logged_in %}
<a class="bar-item bar-item-no-border">{{ meta.object_visibility | visibility }}</a>
{% endif %}
{% endif %}
</div>