mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Hide source button when an activity is not public
This commit is contained in:
parent
ab623b0f3a
commit
bb62ebc2bc
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue