mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Move cancel reason into red label
This commit is contained in:
parent
cfbf7b4599
commit
4f170bf4cf
@ -10,11 +10,11 @@
|
||||
<div class="item-col">
|
||||
<div class="wrap-header">
|
||||
<div class="wl-row">
|
||||
{% if calendar.status == 'canceled' %}
|
||||
<p class="badge rounded-pill bg-danger">{{ 'chill_calendar.canceled'|trans }}: <span>{{ calendar.cancelReason.name|localize_translatable_string }}</span></p>
|
||||
{% endif %}
|
||||
<div class="wl-col title">
|
||||
<p class="date-label">
|
||||
{% if calendar.status == 'canceled' %}
|
||||
<span class="badge rounded-pill bg-danger">{{ 'chill_calendar.canceled'|trans }}</span>
|
||||
{% endif %}
|
||||
{% if context == 'person' and calendar.context == 'accompanying_period' %}
|
||||
<a href="{{ chill_path_add_return_path('chill_person_accompanying_course_index', {'accompanying_period_id': calendar.accompanyingPeriod.id}) }}" style="text-decoration: none;">
|
||||
<span class="badge bg-primary">
|
||||
@ -35,12 +35,12 @@
|
||||
{% if calendar.status == 'canceled' %}
|
||||
</del>
|
||||
{% endif %}
|
||||
{% if calendar.status == 'canceled' %}
|
||||
<p>
|
||||
<span>{{ 'chill_calendar.cancel_reason'|trans }}:</span>
|
||||
<span>{{ calendar.cancelReason.name|localize_translatable_string }}</span>
|
||||
</p>
|
||||
{% endif %}
|
||||
{# {% if calendar.status == 'canceled' %}#}
|
||||
{# <p>#}
|
||||
{# <span>{{ 'chill_calendar.cancel_reason'|trans }}:</span>#}
|
||||
{##}
|
||||
{# </p>#}
|
||||
{# {% endif %}#}
|
||||
|
||||
<div class="duration short-message">
|
||||
<i class="fa fa-fw fa-hourglass-end"></i>
|
||||
|
Loading…
x
Reference in New Issue
Block a user