From aa3340f4d7ce252dcf7504df6a0f0aec53b95f5c Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 17 Feb 2025 14:31:24 +0200 Subject: [PATCH] add comments --- templates/new_post.html.j2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/new_post.html.j2 b/templates/new_post.html.j2 index c05404c..2890b25 100644 --- a/templates/new_post.html.j2 +++ b/templates/new_post.html.j2 @@ -58,12 +58,13 @@
{% if data['spoiler'] != "" and data['spoiler'] != null %} - {% if data['translated_spoiler'] != "" and data['translated_spoiler'] != null %} +
{{ data['translated_spoiler'] }}
{% endif %} +
{{ data['spoiler'] }}
@@ -71,6 +72,7 @@
{% if data['translated_content'] != '' and data['translated_content'] != null %} + {{ data['translated_content'] }} {% endif %} {{ data['content'] }} @@ -123,6 +125,7 @@
{% if reply['translated_spoiler'] != '' and reply['translated_spoiler'] != null %} + {{ reply['translated_spoiler'] }} {% endif %} {{ reply['spoiler'] }} @@ -130,6 +133,7 @@
{% if reply['translated_content'] != '' and reply['translated_content'] != null %} + {{ reply['translated_content'] }} {% endif %} {{ reply['content'] }} @@ -185,6 +189,7 @@
{% if data['reblog']['translated_spoiler'] != '' and data['reblog']['translated_spoiler'] != null %} +
{{ data['reblog']['translated_spoiler'] }}
@@ -195,6 +200,7 @@
{% if data['reblog']['translated_content'] != '' and data['reblog']['translated_content'] != null %} + {{ data['reblog']['translated_content'] }} {% endif %} {{ data['reblog']['content'] }}