{{fellow.species.name}}
{% if fellow.isSterilized %}
{{ ux_icon('streamline:syringe-solid', {class: "w-4 h-4"}) }}
{% endif %} {% if fellow.isPending %}
{{ ux_icon('material-symbols:pending-actions-rounded', {class: "w-5 h-5"}) }}
{% endif %}
{{fellow.name}} {% if fellow.number > 1 %} x{{fellow.number}} {% endif %}
{% if fellow.infos %}
{{ ux_icon('tabler:info-square-rounded', {class: "w-4 h-4", 'data-tooltip-target': "tooltip-bottom-" ~ fellow.id, 'data-tooltip-placement': "bottom"}) }}
{% endif %}
{% if app.request.get('_route') == 'app_listing_fellows' %}
{{fellow.species.name}}
{% endif %}

{{ ux_icon('wpf:birthday', {class: "w-4 h-4"}) }}

Naissance

{% if fellow.birthday and fellow.birthdayBis == null %} {% if fellow.justYear %} En {{fellow.birthday|date("Y")}} {% elseif fellow.justMonth %} En {{fellow.birthday|format_datetime(pattern='MMM Y')}} {% else %} Le {{fellow.birthday|date("d/m/Y")}} {% endif %} {% elseif fellow.birthday and fellow.birthdayBis %} Entre le {{fellow.birthday|date("d/m/Y")}} et le {{fellow.birthdayBis|date('d/m/Y')}} {% else %} Date de naissance inconnue {% endif %}
{% if fellow.birthday %}
{% if fellow.deathAfterDeparture %} {{this.calculateDeath(fellow.birthday, fellow.deathAfterDeparture, fellow.birthdayBis)}} {% elseif fellow.departureAt and fellow.departureStatus == "décès" %} {{this.calculateDeath(fellow.birthday, fellow.departureAt, fellow.birthdayBis)}} {% else %} {{this.calculateAge(fellow.birthday, fellow.birthdayBis)}} {% endif %}
{% endif %} {% if fellow.type == 'adult' %} {{ ux_icon('fa6-solid:archway', {class: "w-4 h-4"}) }} {{fellow.birthplace ? fellow.birthplace.name}} {% endif %} {% if fellow.type == 'adult' %} {% if fellow.fatherName == null and fellow.motherName == null %} {{ ux_icon('mdi:dna', {class: "w-4 h-4"}) }} De parents inconnus {% else %} {{ ux_icon('mdi:dna', {class: "w-4 h-4"}) }} {% if fellow.motherName %} {{fellow.motherName}} {% else %} Mère inconnue {% endif %} & {% if fellow.fatherName %} {{fellow.fatherName}} {% else %} Père inconnu {% endif %} {% endif %} {% elseif fellow.type == 'young' %} {% if fellow.father == null and fellow.mother == null %} {{ ux_icon('mdi:dna', {class: "w-4 h-4"}) }} De parents inconnus {% else %} {{ ux_icon('mdi:dna', {class: "w-4 h-4"}) }} {% if fellow.mother %} {{fellow.mother.name}} {% else %} Mère inconnue {% endif %} & {% if fellow.father %} {{fellow.father.name}} {% else %} Père inconnu {% endif %} {% endif %} {% endif %}
{% if fellow.type == 'adult' %}

{{ ux_icon('majesticons:door-enter-line', {class: "w-4 h-4"}) }}

Arrivée à Beauval

{% if fellow.arrivalAt %} {% if fellow.infoArrival == "En" %} {{fellow.infoArrival ~ " " ~ fellow.arrivalAt|date('m/Y')}} {% elseif fellow.infoArrival != "En" %} {{(fellow.infoArrival == null ? "Le" : "") ~ " " ~ fellow.arrivalAt|date('d/m/Y')}} {% endif %} {% else %} Date d'arrivée inconnue {% endif %} {{ ux_icon('fa6-solid:archway', {class: "w-4 h-4"}) }} {{fellow.provenance ? fellow.provenance.name}}
{% endif %} {% if fellow.departureStatus %}

{{ ux_icon(this.getDepartureInfos(fellow.departureStatus).icon, {class: "w-4 h-4"}) }}

{{ this.getDepartureInfos(fellow.departureStatus).title }}

{% if fellow.departureAt %} {% if fellow.infoDeparture == "En" %} {{fellow.infoDeparture ~ " " ~ fellow.departureAt|date('m/Y')}} {% elseif fellow.infoDeparture != "En" %} {{(fellow.infoDeparture == null ? "Le" : fellow.infoDeparture) ~ " " ~ fellow.departureAt|date('d/m/Y')}} {% endif %} {% else %} Date de {{fellow.departureStatus}} inconnue {% endif %} {% if fellow.destination %} {{ ux_icon('fa6-solid:archway', {class: "w-4 h-4"}) }} {{fellow.destination.name}} {% endif %} {% if fellow.deathAfterDeparture %} {{ ux_icon('ph:cross-fill', {class: "w-4 h-4"}) }} {{fellow.deathAfterDeparture|date('d/m/Y')}} {% endif %}
{% endif %}
{{this.progressBar}}%