bascule.txt.j2 16 lignes · 929 octets
{% macro liste(titre, identifiants) -%}
{{ titre }} : {{ identifiants | length }}
{% if identifiants | length > 0 %}
    {{ identifiants | sort | join(', ') | wordwrap(92, break_long_words=false, wrapstring='\n    ', break_on_hyphens=false) }}
{% endif %}
{%- endmacro %}
Open IAM — bascule de la migration Active Directory
Date : {{ oiam_lsc_bascule_date }} (heure du serveur annuaire)
Sources : {{ oiam_lsc_sources | map(attribute='nom') | zip(oiam_lsc_sources | map(attribute='libelle', default='')) | map('join', ' (') | map('regex_replace', '$', ')') | join(', ') }}
Identifiants seulement : aucun mot de passe, aucun lien.

{{ liste('Liens envoyés', oiam_lsc_campagne.envoyes) }}
{{ liste('Sans adresse', oiam_lsc_bascule.sans_adresse) }}
{{ liste('Déjà locaux', oiam_lsc_bascule.locaux) }}
{{ liste('Verrouillés (sans lien)', oiam_lsc_bascule.verrouilles) }}
{{ liste("Échecs d'envoi", oiam_lsc_campagne.echecs) }}