separate divs

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

View file

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