From bb62ebc2bcf956884423095a9d9cae32365eb39b Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 27 Aug 2019 00:24:16 +0200 Subject: [PATCH] Hide source button when an activity is not public --- templates/utils.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/utils.html b/templates/utils.html index 8514866..87c8109 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -321,6 +321,7 @@ {% endif %} +{% if meta.object_visibility | visibility_is_public %} {% if obj | url_or_id | is_from_outbox %} permalink {% else %} @@ -329,6 +330,7 @@ {% if session.logged_in %} {{ meta.object_visibility | visibility }} {% endif %} +{% endif %}