Merge remote-tracking branch 'origin/main'

This commit is contained in:
SBD
2023-12-27 01:08:16 +05:00
8 changed files with 14 additions and 36 deletions

View File

@@ -1,23 +1,12 @@
{% load static %}
<div {% include "block_settings/blocks_settings.html" %}>
<div>
{% for widget in block.get_widgets %}
<div>
<div>
{% if widget.name %}
<div>{{ widget.name }}</div>
{% endif %}
{% if widget.description %}
<div>{{ widget.description|safe|linebreaksbr }}</div>
{% endif %}
</div>
<div>
{% if widget.video_url %}
<div>{{ widget.video_url|safe }}</div>
{% elif widget.picture %}
<img src="{{ MEDIA_URL }}{{ widget.picture }}" alt="{{ widget.name }}" />
{% endif %}
</div>
<div class="container_block_presentation_aerBim">
<div class="cut-width">
<div class="container_content_presentation_aerBim">
{% for widget in block.get_widgets %}
{% include "widgets/w_one_present_aerBim.html" %}
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>

View File

@@ -1,12 +0,0 @@
{% load static %}
<div {% include "block_settings/blocks_settings.html" %}>
<div class="container_block_presentation_aerBim">
<div class="cut-width">
<div class="container_content_presentation_aerBim">
{% for widget in block.get_widgets %}
{% include "widgets/w_one_present_aerBim.html" %}
{% endfor %}
</div>
</div>
</div>
</div>

View File

@@ -30,7 +30,7 @@
}
</style>
<div class="{{ name_w }}_{{ widget.id }}_align_btn">
<a class="{{ name_w }}_{{ widget.id }}_widget_btn_a" href="{{ widget.url }}">
<a class="{{ name_w }}_{{ widget.id }}_widget_btn_a" href="{{ widget.url }}" target="_blank">
{{ widget.but_title }}
</a>
</div>