diff --git a/dicos/99_one-frontend.xml b/dicos/99_one-frontend.xml index bb9120c..6833d23 100644 --- a/dicos/99_one-frontend.xml +++ b/dicos/99_one-frontend.xml @@ -40,7 +40,9 @@ non - + + http://marketplace.c12g.com/appliance + non diff --git a/tmpl/admin.yaml b/tmpl/admin.yaml index 29fd494..3802382 100644 --- a/tmpl/admin.yaml +++ b/tmpl/admin.yaml @@ -16,7 +16,9 @@ enabled_tabs: hosts-tab: true datastores-tab: true vnets-tab: true +%if %%getVar('activer_market_place', 'non') marketplace-tab: true +%end if %if %%getVar('activer_oneflow', 'non') == 'oui' oneflow-dashboard: true oneflow-services: true diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf index 542c215..880c1ee 100644 --- a/tmpl/sunstone-server.conf +++ b/tmpl/sunstone-server.conf @@ -120,8 +120,6 @@ # %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' diff --git a/tmpl/sunstone-views.yaml b/tmpl/sunstone-views.yaml index 2434f87..f32b66b 100644 --- a/tmpl/sunstone-views.yaml +++ b/tmpl/sunstone-views.yaml @@ -17,7 +17,9 @@ available_tabs: - datastores-tab - vnets-tab - zones-tab +%if %%getVar('activer_market_place', 'non') - marketplace-tab +%end if %if %%getVar('activer_oneflow', 'non') == 'oui' - oneflow-dashboard - oneflow-services diff --git a/tmpl/user.yaml b/tmpl/user.yaml index 4cc0aa5..4e86869 100644 --- a/tmpl/user.yaml +++ b/tmpl/user.yaml @@ -16,7 +16,9 @@ enabled_tabs: hosts-tab: false datastores-tab: true vnets-tab: true +%if %%getVar('activer_market_place', 'non') marketplace-tab: true +%end if %if %%getVar('activer_oneflow', 'non') == 'oui' oneflow-dashboard: true oneflow-services: true