From c77106c07ee380fcd496ff9de91e25436e8c1ee4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Mar 2022 21:10:59 +0200 Subject: [PATCH] publish fix 2 --- files/templates/post_actions.html | 13 +++++-------- files/templates/post_actions_mobile.html | 12 ++++++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 1134cd094e..9152741927 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -1,11 +1,8 @@ - -{% if v and v.id==p.author_id %} - {% if p.private %} -
- - -
- {% endif %} +{% if v and v.id==p.author_id and p.private %} +
+ + +
{% endif %} diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index 6b542e6af8..a1c0adda7a 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -1,3 +1,11 @@ +{% if v and v.id==p.author_id and p.private %} +
+ + +
+{% endif %} + + {% if not p.ghost %}{% endif %} @@ -19,10 +27,6 @@ {% endif %} - {% if p.private %} - Publish - {% endif %} - {% if request.path.startswith('/@') %}