mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix issues with inexisting fields
This commit is contained in:
parent
6e2cce9531
commit
cf7338b690
@ -24,7 +24,10 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{{ 'Events participation' |trans }}</h2>
|
<h2>{{ 'Events participation' |trans }}</h2>
|
||||||
|
|
||||||
<table class="table table-striped table-bordered border-dark align-middle mt-3 events">
|
{% if participations|length == 0 %}
|
||||||
|
<p class="chill-no-data-statement">{{ 'Any participation for this person'|trans }}</p>
|
||||||
|
{% else %}
|
||||||
|
<table class="table table-striped table-bordered border-dark align-middle mt-3 events">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="chill-green">{{ 'Date'|trans }}</th>
|
<th class="chill-green">{{ 'Date'|trans }}</th>
|
||||||
@ -102,7 +105,8 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if participations|length < paginator.getTotalItems %}
|
{% if participations|length < paginator.getTotalItems %}
|
||||||
{{ chill_pagination(paginator) }}
|
{{ chill_pagination(paginator) }}
|
||||||
|
@ -49,8 +49,12 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>{{ 'event.fields.location'|trans }}</th>
|
<th>{{ 'event.fields.location'|trans }}</th>
|
||||||
<td>
|
<td>
|
||||||
|
{% if event.location is not null %}
|
||||||
{{ event.location.name }}
|
{{ event.location.name }}
|
||||||
{% if event.location.address is not same as(null) %}{{ event.location.address|chill_entity_render_box({'multiline': false, 'with_picto': (event.location.name is empty), 'details_button': true}) }}{% endif %}
|
{% if event.location.address is not same as(null) %}{{ event.location.address|chill_entity_render_box({'multiline': false, 'with_picto': (event.location.name is empty), 'details_button': true}) }}{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<span class="chill-no-data-statement">{{ 'Any location for this event'|trans }}</span>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -27,6 +27,7 @@ Edit the event: Modifier l'événement
|
|||||||
The event was updated: L'événement a été modifié
|
The event was updated: L'événement a été modifié
|
||||||
The event was created: L'événement a été créé
|
The event was created: L'événement a été créé
|
||||||
List of events: Liste des événements
|
List of events: Liste des événements
|
||||||
|
Any location for this event: Aucune localisation pour cet événement
|
||||||
|
|
||||||
#crud participation
|
#crud participation
|
||||||
Edit all the participations: Modifier toutes les participations
|
Edit all the participations: Modifier toutes les participations
|
||||||
@ -51,6 +52,7 @@ Remove participation: Supprimer la participation
|
|||||||
Delete event: Supprimer l'événement
|
Delete event: Supprimer l'événement
|
||||||
Are you sure you want to remove that participation ?: Êtes-vous certain de vouloir supprimer cette participation ?
|
Are you sure you want to remove that participation ?: Êtes-vous certain de vouloir supprimer cette participation ?
|
||||||
Are you sure you want to remove that event ?: Êtes-vous certain de vouloir supprimer cet événement, ainsi que toutes les participations associées ?
|
Are you sure you want to remove that event ?: Êtes-vous certain de vouloir supprimer cet événement, ainsi que toutes les participations associées ?
|
||||||
|
Any participation for this person: Cet usager ne participe à aucun évenements
|
||||||
|
|
||||||
#search
|
#search
|
||||||
Event search: Recherche d'événements
|
Event search: Recherche d'événements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user