dicos/99_one-frontend.xml: Ajout des variables pour la market place
On donne la possibilité de saisir l'adresse d'un market centrel (ex académie ou EOLE). ref #9543 @30m
This commit is contained in:
parent
f4377ec74b
commit
9244ce0198
@ -37,6 +37,10 @@
|
||||
<value>fr_FR</value>
|
||||
</variable>
|
||||
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/>
|
||||
<variable name='activer_market_place' type='oui/non' description="Activer l'utilisation d'une place de marché distante" mode='expert'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='market_place_url' type='web_address' description="Adresse de la place de marché distante" mode='expert'/>
|
||||
<variable name='activer_market_views' type='oui/non' description="Activer l'intégration appmarket dans Sunstone" mode="expert">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
@ -69,6 +73,7 @@
|
||||
<target type='variable'>ip_sunstone</target>
|
||||
<target type='variable'>langue_sunstone</target>
|
||||
</condition>
|
||||
|
||||
<condition name='disabled_if_in' source='activer_market_views'>
|
||||
<param>non</param>
|
||||
<target type='variable'>appmarket_endpoint</target>
|
||||
@ -76,6 +81,11 @@
|
||||
<target type='variable'>appmarket_password</target>
|
||||
<target type='filelist'>appmarket</target>
|
||||
</condition>
|
||||
|
||||
<condition name='disabled_if_in' source='activer_market_place'>
|
||||
<param>non</param>
|
||||
<target type='variable'>market_place_url</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
<help>
|
||||
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>
|
||||
|
@ -118,7 +118,11 @@
|
||||
|
||||
# Marketplace endpoint
|
||||
#
|
||||
%if getVar('activer_market_place','non') == 'oui'
|
||||
:Marketplace_url: %%market_place_url
|
||||
%else
|
||||
:marketplace_url: http://marketplace.c12g.com/appliance
|
||||
%end if
|
||||
|
||||
%if %%getVar('activer_oneflow', 'non') == 'oui'
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user