rougail/tests/dictionaries/40condition_fallback/00-base.xml

33 lines
1.2 KiB
XML
Raw Normal View History

2019-11-24 20:25:09 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2020-02-16 21:27:42 +01:00
<rougail>
2019-11-23 08:17:35 +01:00
<variables>
2019-11-24 20:25:09 +01:00
<family name="general">
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif" type="string" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif1" type="string" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif2" type="string" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
</family>
2020-07-24 14:59:09 +02:00
<family name="disabled_family">
2021-01-10 16:53:41 +01:00
<variable name="mode_conteneur_actif3" type="string" description="No change">
2020-07-24 14:59:09 +02:00
<value>non</value>
</variable>
</family>
2019-11-23 08:17:35 +01:00
</variables>
<constraints>
2019-11-26 20:33:24 +01:00
<condition fallback="True" name="disabled_if_in" source="condition">
2019-11-23 08:17:35 +01:00
<param>oui</param>
2019-11-24 20:25:09 +01:00
<target type="variable">mode_conteneur_actif1</target>
<target type="variable" optional="True">mode_conteneur_actif2</target>
2020-07-24 14:59:09 +02:00
<target type="family">disabled_family</target>
2019-11-23 08:17:35 +01:00
</condition>
</constraints>
2020-02-16 21:27:42 +01:00
</rougail>
2019-11-23 08:17:35 +01:00
<!-- vim: ts=4 sw=4 expandtab
-->