accompanying period: wording + minor changes in twig

This commit is contained in:
nobohan
2021-06-29 17:09:24 +02:00
parent ab1edee9fb
commit 0135f5184e
2 changed files with 11 additions and 4 deletions

View File

@@ -10,12 +10,16 @@
{% for accompanying_period in accompanying_periods %}
<div class="flex-table">
<div class="item-bloc">
<div class="item-row">
<div class="item-col">
{{'Accompanying period'|trans}} #{{ accompanying_period.id }}
{{'period'|trans}} <b>#{{ accompanying_period.id }}</b>
{% if accompanying_period.emergency %}
<span class="badge badge-secondary">
{{- 'Emergency'|trans -}}
</span>
{% endif %}
</div>
<div class="item-col">
@@ -63,7 +67,7 @@
{% endif %}
</div>
<div class="item-col">
<h3>{{ 'Requestors'|trans }}</h3>
<h3>{{ 'Requestor'|trans }}</h3>
{% if accompanying_period.requestorPerson is not null or accompanying_period.requestorThirdParty is not null %}
{% if accompanying_period.requestorPerson is not null %}
<p>{{ accompanying_period.requestorPerson.firstname ~ ' ' ~ accompanying_period.requestorPerson.lastname }}</p>