correction si eportail non installé

This commit is contained in:
afornerot 2018-12-18 10:07:19 +01:00
parent fdb11077a0
commit 2bdd0893f1
1 changed files with 11 additions and 7 deletions

View File

@ -18,6 +18,10 @@
<variables>
<family name='Cadoles User'>
<variable name="activer_eportail" type="oui/non" description="Activer ePortail" hidden='True' exists='False'>
<value>non</value>
</variable>
<variable type='oui/non' name='activer_cadolesuser' description='Activer CadolesUser'><value>oui</value></variable>
<variable type='oui/non' name='cadolesuser_syncldap' description="Faire de CadolesUser la source de votre annuaire"><value>oui</value></variable>
@ -71,17 +75,17 @@
</variables>
<constraints>
<condition name='disabled_if_in' source='activer_admin_passfile'>
<condition name='hidden_if_in' source='activer_admin_passfile'>
<param>non</param>
<target type='variable'>activer_cadolesuser</target>
</condition>
<condition name='disabled_if_in' source='activer_eportail'>
<condition name='hidden_if_in' source='activer_eportail'>
<param>non</param>
<target type='variable'>cadolesuser_synceportail</target>
</condition>
<condition name='disabled_if_in' source='activer_cadolesuser'>
<condition name='hidden_if_in' source='activer_cadolesuser'>
<param>non</param>
<target type='variable'>cadolesuser_syncldap</target>
<target type='variable'>cadolesuser_synceportail</target>
@ -121,7 +125,7 @@
<target type='variable'>cadolesuser_dbpass</target>
</condition>
<condition name='disabled_if_in' source='cadolesuser_syncldap'>
<condition name='hidden_if_in' source='cadolesuser_syncldap'>
<param>non</param>
<target type='variable'>cadolesuser_pwdadmin</target>
@ -134,7 +138,7 @@
<target type='variable'>cadolesuser_moderegistration</target>
</condition>
<condition name='disabled_if_in' source='cadolesuser_niveau02view'>
<condition name='hidden_if_in' source='cadolesuser_niveau02view'>
<param>non</param>
<target type='variable'>cadolesuser_niveau02label</target>
@ -156,14 +160,14 @@
<check name='valid_enum' target='cadolesuser_db_mode'>
<param>['default', 'externe', 'local']</param>
</check>
<condition name='disabled_if_in' source='cadolesuser_db_mode'>
<condition name='hidden_if_in' source='cadolesuser_db_mode'>
<param>local</param>
<target type='variable'>cadolesuser_dbserver</target>
<target type='variable'>cadolesuser_dbuser</target>
<target type='variable'>cadolesuser_dbport</target>
<target type='variable'>cadolesuser_dbpass</target>
</condition>
<condition name='disabled_if_in' source='cadolesuser_db_mode'>
<condition name='hidden_if_in' source='cadolesuser_db_mode'>
<param>default</param>
<target type='variable'>cadolesuser_dbserver</target>
<target type='variable'>cadolesuser_dbuser</target>