Désactivation de toute les configurations liées a oneflow
Si 'activer_oneflow' est a "non" on cache tous les éléments de la vue admin sunstone en lien avec les "Services" ref #16796 @1h
This commit is contained in:
parent
07c7d2bf9a
commit
b9db273452
@ -1,14 +1,19 @@
|
||||
%set oneflow = %%getVar('activer_oneflow','non') == 'oui'
|
||||
small_logo: images/opennebula-5.0.png
|
||||
provision_logo: images/opennebula-5.0.png
|
||||
enabled_tabs:
|
||||
- dashboard-tab
|
||||
- instances-top-tab
|
||||
- vms-tab
|
||||
%if %%oneflow
|
||||
- oneflow-services-tab
|
||||
%end if
|
||||
- vrouters-tab
|
||||
- templates-top-tab
|
||||
- templates-tab
|
||||
%if %%oneflow
|
||||
- oneflow-templates-tab
|
||||
%end if
|
||||
- vrouter-templates-tab
|
||||
- storage-top-tab
|
||||
- datastores-tab
|
||||
@ -341,6 +346,7 @@ tabs:
|
||||
VM.updateconf: true
|
||||
VM.edit_labels: true
|
||||
VM.menu_labels: true
|
||||
%if %%oneflow
|
||||
oneflow-services-tab:
|
||||
panel_tabs:
|
||||
service_info_tab: true
|
||||
@ -397,6 +403,7 @@ tabs:
|
||||
Service.delete: true
|
||||
Service.edit_labels: true
|
||||
Service.menu_labels: true
|
||||
%end if
|
||||
vrouters-tab:
|
||||
panel_tabs:
|
||||
virtual_router_info_tab: true
|
||||
|
Loading…
Reference in New Issue
Block a user