{% extends 'base.html.twig' %} {% import 'macro.html.twig' as macro %} {% block breadcrumb %} {% endblock %} {% block page_title %} {{ project.name }} {% for tag in project.tags %} {{ tag.name }} {% endfor %} {% endblock %} {% block page_content %}
Revenir aux projets Modifier le projet Supprimer le projet Créer une tâche
{% if project.description is not empty %}
{{ project.description|markdown_to_html }}
{% endif %}

Carte

{{ macro.map(project) }}
{% if project.tasks is not empty %}
{% set stats = taskLifecycleManager.getProjectStats(project) %} {% for place, data in stats %}
{{ data.percentage|format_number({fraction_digit: 0}) ~ '%' }}
{% endfor %}
{% set dummy = tasks.setParam('_fragment', 'tasks') %}
{% for task in tasks %} {% endfor %}
{{ macro.paginated(tasks, 'Identifiant', 't.id') }} {{ macro.paginated(tasks, 'Nom', 't.name') }} {{ macro.paginated(tasks, 'État', 't.status') }} {{ macro.paginated(tasks, 'Importance', 't.important') }} {{ macro.paginated(tasks, 'Urgence', 't.urgent') }}
{{ task.id }} {{ task.name }} {{ workflow_metadata(task, 'title', task.status) }} {{ task.important }} {{ task.urgent }}
{% endif %} {% endblock %}