resume page: try alternatives with row/cols placement

This commit is contained in:
Mathieu Jaumotte 2021-11-24 14:45:24 +01:00
parent 4f1c373704
commit aecd0e33a3

View File

@ -21,14 +21,14 @@
<div class="accompanyingcourse-resume row">
{% if 'DRAFT' == accompanyingCourse.step %}
<div class="col-md-6 warnings mb-5">
<div class="warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_still_draft.html.twig' %}
</div>
{% endif %}
{% if 'DRAFT' != accompanyingCourse.step %}
{% if withoutHousehold|length > 0 %}
<div class="col-md-6 warnings mb-5">
<div class="warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_join_household.html.twig' %}
</div>
{% endif %}
@ -36,12 +36,12 @@
{% if accompanyingCourse.locationStatus == 'address'
or accompanyingCourse.locationStatus == 'none' %}
<div class="col-md-6 warnings mb-5">
<div class="warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_warning_address.html.twig' %}
</div>
{% endif %}
<div class="col-md-6 location mb-5">
<div class="col-md-5 location mb-5">
{% if accompanyingCourse.locationStatus == 'person' %}
<h2>{{ 'This course is located by'|trans }}</h2>
<h4>{{ accompanyingCourse.personLocation|chill_entity_render_string }}</h4>
@ -74,7 +74,7 @@
or (accompanyingCourse.requestorThirdParty is not null
or accompanyingCourse.requestorPerson is not null)
%}
<div class="col-md-6 persons mb-5">
<div class="col-md-7 persons mb-5">
<div class="mb-3">
{% if accompanyingCourse.participations is not empty %}
<h4 class="item-key">{{ 'Persons associated'|trans }}</h4>