{% extends 'base2.html.twig' %} {% block title %}Médecine esthétique{% endblock %} {% block body %}

Gestion de Médecine esthétique

{% for type, messages in app.flashes %} {% for message in messages %} {% endfor %} {% endfor %} {% for medecineesthetique in medecineesthetiques %} {% else %} {% endfor %}
Id Titre Description Image ou vidéo avant Image ou vidéo après Catégorie Actions
{{ medecineesthetique.id }} {{ medecineesthetique.getTitre(app.request.locale) }} {{ medecineesthetique.getDescription(app.request.locale)|slice(0, 35) ~ ( medecineesthetique.getDescription(app.request.locale)|length > 35 ? '...' : '') }} {% if medecineesthetique.imageavant %} {% set file_extension = medecineesthetique.imageavant|split('.')|last %} {% if file_extension in ['jpg', 'jpeg', 'png', 'gif', 'bmp'] %} Image de {{ medecineesthetique.getTitre(app.request.locale) }} {% elseif file_extension in ['mp4', 'webm', 'ogg'] %} {% else %} Format de fichier non supporté. {% endif %} {% else %} Pas de photo avant {% endif %} {% if medecineesthetique.imageapres %} {% set file_extension = medecineesthetique.imageapres|split('.')|last %} {% if file_extension in ['jpg', 'jpeg', 'png', 'gif', 'bmp'] %} Image de {{ medecineesthetique.getTitre(app.request.locale) }} {% elseif file_extension in ['mp4', 'webm', 'ogg'] %} {% else %} Format de fichier non supporté. {% endif %} {% else %} Pas de photo après {% endif %} {{medecineesthetique.relation.titre}} Afficher
Modifier
{{ include('medecine_esthetique_adminis/_delete_form.html.twig') }}
No records found
Créer {% endblock %}