mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Course resume page: hide a masonry bloc if no content (fix)
This commit is contained in:
parent
34ff91979b
commit
782e098e31
@ -55,6 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if accompanyingCourse.locationStatus != 'none' %}
|
||||||
<div class="mbloc col col-sm-6 col-lg-4">
|
<div class="mbloc col col-sm-6 col-lg-4">
|
||||||
<div class="location">
|
<div class="location">
|
||||||
{% if accompanyingCourse.locationStatus == 'person' %}
|
{% if accompanyingCourse.locationStatus == 'person' %}
|
||||||
@ -63,12 +64,10 @@
|
|||||||
{% elseif accompanyingCourse.locationStatus == 'address' %}
|
{% elseif accompanyingCourse.locationStatus == 'address' %}
|
||||||
<h4>{{ 'This course has a temporarily location'|trans }}</h4>
|
<h4>{{ 'This course has a temporarily location'|trans }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{{ accompanyingCourse.location|chill_entity_render_box }}
|
||||||
{% if accompanyingCourse.locationStatus != 'none' %}
|
|
||||||
{{ accompanyingCourse.location|chill_entity_render_box }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if accompanyingCourse.pinnedComment is not empty %}
|
{% if accompanyingCourse.pinnedComment is not empty %}
|
||||||
<div class="mbloc col col-sm-6 col-lg-8">
|
<div class="mbloc col col-sm-6 col-lg-8">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user