mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
Create internal and external animators
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
{{ form_row(edit_form.type, { label: "Event type" }) }}
|
||||
{{ form_row(edit_form.themes) }}
|
||||
{{ form_row(edit_form.moderator) }}
|
||||
{{ form_row(edit_form.animators) }}
|
||||
{{ form_row(edit_form.animatorsIntern) }}
|
||||
{{ form_row(edit_form.animatorsExtern) }}
|
||||
{{ form_row(edit_form.location) }}
|
||||
{{ form_row(edit_form.budgetElements) }}
|
||||
{{ form_row(edit_form.comment) }}
|
||||
|
@@ -11,7 +11,7 @@ block js %}
|
||||
|
||||
{{ filter | chill_render_filter_order_helper }}
|
||||
|
||||
{# {% if is_granted('CHILL_EVENT_CREATE') %} #}
|
||||
{% if is_granted('CHILL_EVENT_CREATE') %}
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a
|
||||
@@ -25,7 +25,9 @@ block js %}
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
{# {% endif %} #} {% if events|length > 0 %}
|
||||
{% endif %}
|
||||
|
||||
{% if events|length > 0 %}
|
||||
<div class="flex-table">
|
||||
{% for e in events %}
|
||||
<div class="item-bloc">
|
||||
@@ -41,6 +43,7 @@ block js %}
|
||||
{{ e.moderator | chill_entity_render_box }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
{% for t in e.themes %}
|
||||
<span>{{ t|chill_entity_render_box }}</span>
|
||||
@@ -53,6 +56,7 @@ block js %}
|
||||
<p>
|
||||
{{ 'count participations to this event'|trans({'count': e.participations|length}) }}
|
||||
</p>
|
||||
<p>{{ "center"|trans }}: {{ e.center.name }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -65,9 +65,17 @@
|
||||
<td>{{ event.moderator|chill_entity_render_string }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ 'Animators'|trans }}</th>
|
||||
<th>{{ 'event.animators.intern'|trans }}</th>
|
||||
<td>
|
||||
{% for a in event.animators %}
|
||||
{% for a in event.animatorsIntern %}
|
||||
{{ _self.insert_onthefly('user', a) }}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{ 'event.animators.extern'|trans }}</th>
|
||||
<td>
|
||||
{% for a in event.animatorsExtern %}
|
||||
{{ _self.insert_onthefly('thirdparty', a) }}
|
||||
{% endfor %}
|
||||
</td>
|
||||
@@ -153,7 +161,7 @@
|
||||
</tfoot>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="chill-no-data-statement">{{ 'event.budget.no elements' }}</p>
|
||||
<p class="chill-no-data-statement">{{ 'event.budget.no elements'|trans }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -180,7 +188,7 @@
|
||||
<div class="participations-wrapper">
|
||||
<h2>{{ 'Participations'|trans }}</h2>
|
||||
{% set count = event.participations|length %}
|
||||
<p>{{ 'count participations to this event'|trans({'count': count}) }}</p>
|
||||
<p class="chill-no-data-statement">{{ 'count participations to this event'|trans({'count': count}) }}</p>
|
||||
|
||||
{% if count > 0 %}
|
||||
<table class="table table-bordered border-dark align-middle">
|
||||
|
Reference in New Issue
Block a user