mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
rdv: translations + layout (twig)
This commit is contained in:
@@ -26,15 +26,21 @@
|
||||
<div class="item-col">
|
||||
|
||||
{% if calendar.startDate %}
|
||||
<h3>{{ calendar.startDate|format_date('long') }} </h3>
|
||||
<h3>{{ calendar.startDate|format_datetime('long') }} </h3>
|
||||
{% endif %}
|
||||
|
||||
{% if calendar.endDate %}
|
||||
<h3>{{ calendar.endDate|format_date('long') }}</h3>
|
||||
<h3>{{ calendar.endDate|format_datetime('long') }}</h3>
|
||||
{% endif %}
|
||||
|
||||
<h3>{{ calendar.endDate.diff(calendar.startDate)|date("%Y%m%d%h") }}</h3>
|
||||
|
||||
|
||||
<div class="duration">
|
||||
<p>
|
||||
<i class="fa fa-fw fa-hourglass-end"></i>
|
||||
{{ calendar.endDate.diff(calendar.startDate)|date("%H:%M")}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% if context == 'user' and calendar.accompanyingPeriod is not empty %}
|
||||
<div class="accompanyingPeriodLink" style="margin-top: 1rem">
|
||||
<a
|
||||
|
Reference in New Issue
Block a user