diff --git a/templates/new_post.html.j2 b/templates/new_post.html.j2 index 554d723..a80f814 100644 --- a/templates/new_post.html.j2 +++ b/templates/new_post.html.j2 @@ -60,10 +60,11 @@ {% if data['spoiler'] != "" and data['spoiler'] != null %} {% if data['translated_spoiler'] != "" and data['translated_spoiler'] != null %} + (Translated spoiler)
- (Translated spoiler) {{ data['translated_spoiler'] }}
+ (Original spoiler) {% endif %}
@@ -74,10 +75,11 @@
{% if data['translated_content'] != '' and data['translated_content'] != null %} + (Translated content)
- (Translated content) {{ data['translated_content'] }}
+ (Original content) {% else %} {% endif %} @@ -134,9 +136,11 @@
{% if reply['translated_spoiler'] != '' and reply['translated_spoiler'] != null %} + (Translated spoiler)
{{ reply['translated_spoiler'] }}
+ (Original spoiler) {% endif %}
{{ reply['spoiler'] }} @@ -146,9 +150,11 @@
{% if reply['translated_content'] != '' and reply['translated_content'] != null %} + (Translated content)
{{ reply['translated_content'] }}
+ (Original content) {% else %} {% endif %} @@ -208,9 +214,11 @@ {% if data['reblog']['translated_spoiler'] != '' and data['reblog']['translated_spoiler'] != null %} + (Translated spoiler)
{{ data['reblog']['translated_spoiler'] }}
+ (Original spoiler) {% endif %}
{{ data['reblog']['spoiler'] }} @@ -219,9 +227,11 @@
{% if data['reblog']['translated_content'] != '' and data['reblog']['translated_content'] != null %} + (Translated content)
{{ data['reblog']['translated_content'] }}
+ (Original content) {% endif %}
{{ data['reblog']['content'] }}