From a0d4b31deb9d5dc21605d6ae404275ccefed6d78 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 23 Jan 2023 09:51:10 +0200 Subject: [PATCH] put "block /h/{{hole}}" in post action menus --- files/templates/post_actions.html | 4 ++++ files/templates/post_actions_mobile.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index b860bc080..9bb2dadb8 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -67,6 +67,10 @@ {% endif %} + {% if v.id != p.author_id and p.sub %} + + + {% endif %} {% if p.sub and v.mods(p.sub) %} {% if not p.author.mods(p.sub) %} diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index 9b7d7ddc4..cd00fc806 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -44,9 +44,13 @@ {% else %} {% if not p.ghost %} - + {% endif %} + {% if p.sub %} + + + {% endif %} {% endif %} {% if v.id==p.author_id or (p.sub and v.mods(p.sub)) %}