From 7ef31b27901a935d7fb19d698c74dfd2525bdef7 Mon Sep 17 00:00:00 2001
From: Zankaria
Date: Thu, 29 Aug 2024 17:06:40 +0200
Subject: [PATCH] post_thread.html: move OP post user controls into the intro
and hide them on small screens
---
templates/post_thread.html | 44 ++++++++++++++++++++------------------
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/templates/post_thread.html b/templates/post_thread.html
index f5191a8f..61245a2c 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -21,46 +21,48 @@
No.{{ post.id }}
-
-
{% if post.sticky %}
{% if config.font_awesome %}
- {# Keep this space #}
+ {# Keep this space #}
{% else %}
- {# Keep this space #}
+ {# Keep this space #}
{% endif %}
{% endif %}
{% if post.locked %}
{% if config.font_awesome %}
- {# Keep this space #}
+ {# Keep this space #}
{% else %}
- {# Keep this space #}
+ {# Keep this space #}
{% endif %}
{% endif %}
{% if post.sage and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
{% if config.font_awesome %}
- {# Keep this space #}
+ {# Keep this space #}
{% else %}
- {# Keep this space #}
+ {# Keep this space #}
{% endif %}
{% endif %}
{% if post.cycle %}
{% if config.font_awesome %}
- {# Keep this space #}
+ {# Keep this space #}
{% else %}
- {# Keep this space #}
+ {# Keep this space #}
{% endif %}
{% endif %}
- {% if index %}
- [{% trans %}Reply{% endtrans %}] {# Keep this space #}
- {% endif %}
- {% if isnoko50 %}
- [{% trans %}View All{% endtrans %}] {# Keep this space #}
- {% endif %}
- {% if hasnoko50 and not isnoko50 %}
- {% set lastcount = config.noko50_count %}
- [{% trans %}Last 1 Post{% plural lastcount %}Last {{ count }} Posts{% endtrans %}] {# Keep this space #}
- {% endif %}
+
+
+
{% include 'post/post_controls.html' %}
@@ -90,7 +92,7 @@
{% plural post.omitted_images %}
{{ count }} image replies
{% endtrans %}
- {% endif %} {% trans %}omitted. Click reply to view.{% endtrans %}
+ {% endif %} {% trans %}omitted.{% endtrans %}
{% endif %}
{% if not index %}