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>
|
||||
{% endif %}
|
||||
|
||||
{% if accompanyingCourse.locationStatus != 'none' %}
|
||||
<div class="mbloc col col-sm-6 col-lg-4">
|
||||
<div class="location">
|
||||
{% if accompanyingCourse.locationStatus == 'person' %}
|
||||
@ -63,12 +64,10 @@
|
||||
{% elseif accompanyingCourse.locationStatus == 'address' %}
|
||||
<h4>{{ 'This course has a temporarily location'|trans }}</h4>
|
||||
{% endif %}
|
||||
|
||||
{% if accompanyingCourse.locationStatus != 'none' %}
|
||||
{{ accompanyingCourse.location|chill_entity_render_box }}
|
||||
{% endif %}
|
||||
{{ accompanyingCourse.location|chill_entity_render_box }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if accompanyingCourse.pinnedComment is not empty %}
|
||||
<div class="mbloc col col-sm-6 col-lg-8">
|
||||
|
Loading…
x
Reference in New Issue
Block a user