forked from viennet/Referentiels
Tags Ressource redirect
This commit is contained in:
parent
04488c3dcc
commit
668fdc5900
@ -120,11 +120,11 @@ template = env.from_string("""
|
|||||||
<th>{{categorie.capitalize()}}</th>
|
<th>{{categorie.capitalize()}}</th>
|
||||||
<td>
|
<td>
|
||||||
{#- Gestion des tableaux #}
|
{#- Gestion des tableaux #}
|
||||||
{% if categorie == "motscles" or categorie == "ressources" -%}
|
{% if categorie == "motscles" -%}
|
||||||
<div class="tags">{% for mot in valeur %}<span class="tag is-info">{{mot}}</span>{% endfor %}</div>
|
<div class="tags">{% for mot in valeur %}<span class="tag is-info">{{mot}}</span>{% endfor %}</div>
|
||||||
{#- Gestion des saes #}
|
{#- Gestion des saes #}
|
||||||
{% elif categorie == "sae" %}
|
{% elif categorie == "sae" or categorie == "ressources" %}
|
||||||
<div class="tags">{% for sae in valeur %}<a class="tag is-info" href="{{sae.replace("É","E")}}.html">{{sae}}</a>{% endfor %}</div>
|
<div class="tags">{% for val in valeur %}<a class="tag is-info" href="{{val.replace("É","E")}}.html">{{val}}</a>{% endfor %}</div>
|
||||||
{#- Gestion des ACS #}
|
{#- Gestion des ACS #}
|
||||||
{% elif categorie == "acs" -%}
|
{% elif categorie == "acs" -%}
|
||||||
<div class="tags">{% for rt,acs in valeur.items() %}{% for ac in acs %}<span class="tag is-info">{{ac}}</span>{% endfor %}{% endfor %}</div>
|
<div class="tags">{% for rt,acs in valeur.items() %}{% for ac in acs %}<span class="tag is-info">{{ac}}</span>{% endfor %}{% endfor %}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user