{% extends "page.html" %} {% import "macros.html" as m with context %} {% block titre %}Propositions — {{ base.title }}{% endblock %} {% block fil %}{{ m.fil([(base.title, url_base(nom))], 'Propositions') }}{% endblock %} {% block contenu %}

Propositions

{{ m.onglets(nom, 'propositions') }} {% if illisibles %}

{{ illisibles|nb('fichier au frontmatter illisible ignoré', 'fichiers au frontmatter illisible ignorés') }}.

{% endif %} {% if pages > 1 %}

{{ (page - 1) * par_page + 1 }} à {{ [page * par_page, total]|min }} sur {{ total }}.

{% endif %} {% if not lignes %}

Aucune proposition.

{% else %} {% if statut != 'pending' %}{% endif %} {% for b, e, profondeur, sortantes in lignes %}{% set fm = e.frontmatter %}{% set type = fm.get('type', '?') %} {% if statut != 'pending' %} {% endif %} {% endfor %}
PropositionTypeDéposéeStatutRésolution
{% if profondeur %} {% endif %}{{ fm.get('concerns', e.id) }}
{{ e.id }} {% if e.inconsistent %} incohérence status/emplacement{% endif %}
{{ libelles.LIBELLES_TYPE.get(type, type) }} {{ fm.get('submitted-at', '')|quand }}
{{ fm.get('submitted-by', '') }}
{{ libelles.LIBELLES_STATUT[e.status] }} {% if fm.get('resolved-at') %}{{ fm.get('resolved-at')|quand }}{% endif %} {% if fm.get('rejection-reason') %}
{{ fm.get('rejection-reason')|string|truncate(200) }}{% endif %} {% set into = liste(fm.get('integrated-into')) %}{% if into %}
{% for c in into[:3] %}{{ c }}{% if not loop.last %}, {% endif %}{% endfor %}{% if into|length > 3 %} et {{ (into|length - 3)|nb('autre') }}{% endif %}{% endif %}
{% if pages > 1 %} {% endif %} {% endif %}
{% endblock %}