separate divs

This commit is contained in:
Antonio J. Delgado 2025-02-18 11:03:03 +02:00
parent 62ad4febb1
commit 326e86e088

View file

@ -74,13 +74,13 @@
{% if data['translated_content'] != '' and data['translated_content'] != null %}
<!-- translated_content -->
<DIV>
{{ data['translated_content'] }}
{{ data['translated_content'] }}
</DIV>
{% else %}
<!-- no translated_content present -->
{% endif %}
<DIV>
{{ data['content'] }}
{{ data['content'] }}
</DIV>
<!-- media -->
{% if data['media_attachments'] %}
@ -132,19 +132,27 @@
<DIV CLASS='reply-spoiler'>
{% if reply['translated_spoiler'] != '' and reply['translated_spoiler'] != null %}
<!-- translated_reply_spoiler --->
<DIV>{{ reply['translated_spoiler'] }}</DIV>
<DIV>
{{ reply['translated_spoiler'] }}
</DIV>
{% endif %}
<DIV>{{ reply['spoiler'] }}</DIV>
<DIV>
{{ reply['spoiler'] }}
</DIV>
</DIV>
<!-- reply_content -->
<DIV CLASS='reply-content'>
{% if reply['translated_content'] != '' and reply['translated_content'] != null %}
<!-- translated_reply_content --->
<DIV>{{ reply['translated_content'] }}</DIV>
<DIV>
{{ reply['translated_content'] }}
</DIV>
{% else %}
<!-- no translated_reply_content -->
{% endif %}
<DIV>{{ reply['content'] }}</DIV>
<DIV>
{{ reply['content'] }}
</DIV>
<!-- media -->
{% if reply['media_attachments'] %}
{% for media in reply['media_attachments'] %}
@ -209,9 +217,13 @@
<DIV CLASS='reblog-content'>
{% if data['reblog']['translated_content'] != '' and data['reblog']['translated_content'] != null %}
<!-- translated_reblog_content --->
<DIV>{{ data['reblog']['translated_content'] }}</DIV>
<DIV>
{{ data['reblog']['translated_content'] }}
</DIV>
{% endif %}
<DIV>{{ data['reblog']['content'] }}</DIV>
<DIV>
{{ data['reblog']['content'] }}
</DIV>
<!-- media -->
{% if data['reblog']['media_attachments'] %}
{% for media in data['reblog']['media_attachments'] %}