rougail/tests/dictionaries_old/01auto_jinja_if/xml/00-base.xml

21 lines
814 B
XML
Raw Normal View History

2023-09-04 19:18:40 +02:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"/>
<variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value>
</variable>
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True"/>
</family>
</variables>
<constraints>
<fill name="{% if mode_conteneur_actif1 == 'non' %}non{% else %}oui{% endif %}" type="jinja">
<target>mode_conteneur_actif</target>
</fill>
<fill name='{% if mode_conteneur_actif1 == "non" %}oui{% else %}non{% endif %}' type="jinja">
<target>mode_conteneur_actif2</target>
</fill>
</constraints>
</rougail>