can access to extra variables
This commit is contained in:
84
tests/templates/60extra/00-base.xml
Normal file
84
tests/templates/60extra/00-base.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<creole>
|
||||
<family name="containers">
|
||||
<family name="container0" doc="test">
|
||||
<family doc="files" name="files">
|
||||
<family doc="file0" name="file0">
|
||||
<variable doc="" multi="False" name="mkdir" type="boolean">
|
||||
<value>False</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="name" type="string">
|
||||
<value>/etc/mailname</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="rm" type="boolean">
|
||||
<value>False</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="source" type="string">
|
||||
<value>mailname</value>
|
||||
</variable>
|
||||
<variable doc="" multi="False" name="activate" type="boolean">
|
||||
<value>True</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
<property>basic</property>
|
||||
</family>
|
||||
</family>
|
||||
<family doc="" name="creole">
|
||||
<family doc="général" name="general">
|
||||
<property>normal</property>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif" type="choice">
|
||||
<choice type="string">oui</choice>
|
||||
<choice type="string">non</choice>
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
<variable doc="No change" multi="False" name="activer_ejabberd" type="choice">
|
||||
<choice type="string">oui</choice>
|
||||
<choice type="string">non</choice>
|
||||
<property>force_default_on_freeze</property>
|
||||
<property>frozen</property>
|
||||
<property>hidden</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators/>
|
||||
</family>
|
||||
<family doc="" name="extra">
|
||||
<family doc="ejabberd" name="ejabberd">
|
||||
<property>normal</property>
|
||||
<variable doc="description" multi="False" name="description" type="string">
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value>Exportation de la base de ejabberd</value>
|
||||
</variable>
|
||||
<variable doc="day" multi="False" name="day" type="choice">
|
||||
<choice type="string">none</choice>
|
||||
<choice type="string">daily</choice>
|
||||
<choice type="string">weekly</choice>
|
||||
<choice type="string">monthly</choice>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value name="calc_multi_condition" type="calculation">
|
||||
<param transitive="False" type="string">non</param>
|
||||
<param name="condition_1" type="variable">creole.general.activer_ejabberd</param>
|
||||
<param name="match" transitive="False" type="string">none</param>
|
||||
<param name="mismatch" transitive="False" type="string">daily</param>
|
||||
</value>
|
||||
</variable>
|
||||
<variable doc="mode" multi="False" name="mode" type="choice">
|
||||
<choice type="string">pre</choice>
|
||||
<choice type="string">post</choice>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<value type="string">pre</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
</creole>
|
1
tests/templates/60extra/result/test/etc/mailname
Normal file
1
tests/templates/60extra/result/test/etc/mailname
Normal file
@ -0,0 +1 @@
|
||||
Exportation de la base de ejabberd
|
1
tests/templates/60extra/tmpl/mailname
Normal file
1
tests/templates/60extra/tmpl/mailname
Normal file
@ -0,0 +1 @@
|
||||
%%extra.ejabberd.description
|
@ -1 +0,0 @@
|
||||
mailname
|
@ -1 +0,0 @@
|
||||
mailname2
|
@ -1 +0,0 @@
|
||||
%%rougail_variable
|
Reference in New Issue
Block a user