{% extends '@InstallBois/index.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block page_content %}

Gestion des documents

+ Ajouter un document
{% if technicalDocs is not empty %} {% for doc in technicalDocs %} {% endfor %}
Id Titre Description Crée/Màj le Actions
{{ doc.id }} {{ doc.title }} {{ doc.description|length > 100 ? doc.description|slice(0, 100) ~ '...' : doc.description }} {% if doc.createdAt < doc.updatedAt %} {{ doc.updatedAt | date("d/m/Y") }} {% else %} {{ doc.createdAt | date("d/m/Y") }} {% endif %} Voir Modifier
{% else %}
Aucun document
{% endif %}
{% endblock %}