{% if animation.name %}
{% block prices %} {% if !animation.hasChildrens and animation.prices %} {% if !animation.event.dateExpired %}
{{ msg.animation_quota_prices }} :

{% for price in animation.prices %} {{ price.name }} : {{ price.value }} {{ formData.globals.pmbDevise }}
{% endfor %}
{% endif %} {% endif %} {% endblock %} {% block registration %} {% if !animation.hasChildrens %} {% if registration.id %}
{{ msg.animation_registration_empr }} :

{% for person in registration.registredPersons %} {{ person.name }} {% endfor %}
{% endif %} {% endif %} {% endblock %} {% block buttons %}
{% if formData.registrationAllowed %} {% if !registration.id %} {% if animation.allowWaitingList %} {% else %} {% if !animation.hasChildrens and animation.hasQuotas %} {% if !animation.event.dateExpired %} {% if animation.allQuotas.availableQuotas.internet or animation.internetQuota == 0 %} {% if animation.allQuotas.availableQuotas.global or animation.globalQuota == 0 %} {% endif %} {% endif %} {% endif %} {% endif %} {% endif %} {% else %} {% endif %} {% endif %}
{% endblock %}
{% block name %} {% endblock %} {% block parent %} {% if animation.parent.name %} {% endif %} {% endblock %} {% block date %} {% endblock %} {% block quota %} {% if !animation.hasChildrens and animation.hasQuotas %} {% if !animation.event.dateExpired %} {% endif %} {% endif %} {% endblock %} {% block location %} {% if animation.location %} {% endif %} {% endblock %} {% block concepts %} {% if animation.concepts %} {% endif %} {% endblock %} {% block categories %} {% if animation.categories %} {% endif %} {% endblock %} {% block status %} {% if animation.status %} {% endif %} {% endblock %} {% block comment %} {% if animation.comment %} {% endif %} {% endblock %} {% block description %} {% if animation.description %} {% endif %} {% endblock %}
{{ msg.animation_title }} : {{ animation.name }}
{{ msg.animation_parent }} : {{ animation.parent.name }}
{{ msg.animation_date }} : {% if animation.event.startDate != animation.event.endDate %} {{ animation.event.startDate }} {% if animation.event.startHour != '00:00' %} {{ animation.event.startHour }} {% endif %} {{ msg.animations_date_to }} {{ animation.event.endDate }} {% if animation.event.endHour != '00:00' %} {{ animation.event.endHour }} {% endif %} {% else %} {{ animation.event.startDate }} {% if animation.event.startHour != '00:00' %} {{ animation.event.startHour }} {% endif %} {% if animation.event.endHour != '00:00' %} {{ msg.animations_date_hour_to }} {{ animation.event.endHour }} {% endif %} {% endif %}
{{ msg.animation_quota_available }} : {% if animation.allQuotas.animationQuotas.internet %} {% if animation.allQuotas.availableQuotas.internet > 0 %} {{ animation.allQuotas.availableQuotas.internet }} {% else %} {% if animation.location.0.locationLibelle %} {{ msg.quotas_not_set }} : {{ animation.location.0.locationLibelle }} {% else %} {{ msg.quotas_not_set_biblio }} {% endif %} {% endif %} {% else %} {{ msg.animation_quota_no_limit }} {% endif %}
{{ msg.animation_location }} : {% for loc in animation.location %} {{ loc.locationLibelle }} {% if !loop.last %}
{% endif %}
{% endfor %}
{{ msg.animation_concepts }} : {% for concept in animation.concepts %} {{ concept.displayLabel }} {% if !loop.last %}
{% endif %}
{% endfor %}
{{ msg.animation_categories }} : {% for index,categ in animation.categories %} {{ categ.displayLabel }} {% if !loop.last %}
{% endif %}
{% endfor %}
{{ msg.animation_status }} : {{ animation.status.label }}
{{ msg.animation_comment }} : {{ animation.comment }}
{{ msg.animation_description }} : {{ animation.description }}
{% block childrens %} {% if animation.hasChildrens %} {% if animation.childrens.length > 0 %}

{{ msg.animation_linked }}

{% for children in animation.childrens %} {% block childrens_registration %} {% endblock %} {% block childrens_name %} {% endblock %} {% block childrens_date %} {% endblock %} {% block childrens_quota %} {% endblock %} {% endfor %}
{{ msg.animation_title }} {{ msg.animation_date }} {{ msg.animation_quota_available }}
{% if !children.hasChildrens and children.hasQuotas %} {% if children.event.dateExpired %} {% else %} {% if !children.alreadyRegistred %} {% if children.allowWaitingList %} {% else %} {% if children.allQuotas.availableQuotas.global > 0 %} {% endif %} {% endif %} {% else %} {% endif %} {% endif %} {% endif %} {{ children.name }} {{ children.event.startDate }} {% if children.event.startHour != '00:00' %} {{ children.event.startHour }} {% endif %}
{{ msg.animations_date_to }} {{ children.event.endDate }} {% if children.event.endHour != '00:00' %} {{ children.event.endHour }} {% endif %}
{% if !children.hasChildrens and children.hasQuotas %} {% if children.event.dateExpired %} {{ msg.animation_expired_no_quota }} {% else %} {% if children.allQuotas.animationQuotas.global %} {{ children.allQuotas.availableQuotas.global }} / {{ children.globalQuota }} {% else %} {{ msg.animation_quota_no_limit }} {% endif %} {% endif %} {% endif %}
{% endif %} {% endif %} {% endblock %}
{% else %}

{{ msg.animation_unavailable }}

{% endif %}