From 04488c3dcc46e3331f1c214fa69013b23bc1d768 Mon Sep 17 00:00:00 2001 From: Nekori Date: Fri, 23 Apr 2021 18:21:59 +0200 Subject: [PATCH] Tags SAE redirect --- html/export_yaml_to_html.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/export_yaml_to_html.py b/html/export_yaml_to_html.py index 0225ba7..8b6db43 100644 --- a/html/export_yaml_to_html.py +++ b/html/export_yaml_to_html.py @@ -120,8 +120,11 @@ template = env.from_string(""" {{categorie.capitalize()}} {#- Gestion des tableaux #} - {% if categorie == "motscles" or categorie == "sae" or categorie == "ressources" -%} + {% if categorie == "motscles" or categorie == "ressources" -%}
{% for mot in valeur %}{{mot}}{% endfor %}
+ {#- Gestion des saes #} + {% elif categorie == "sae" %} +
{% for sae in valeur %}{{sae}}{% endfor %}
{#- Gestion des ACS #} {% elif categorie == "acs" -%}
{% for rt,acs in valeur.items() %}{% for ac in acs %}{{ac}}{% endfor %}{% endfor %}