File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
dbaas/templates/adminplus Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33from ..views import dashboard , sofia_dashboard
44
55import admin
6- admin .site .register_view ('/dashboard/' , view = dashboard )
76admin .site .register_view ('/dashboard/sofia_dashboard/' ,
87 name = 'Sofia Dashboard' ,
98 view = sofia_dashboard )
Original file line number Diff line number Diff line change 33{% block sidebar %}
44 {{ block.super }}
55
6- {% if custom_list and perms.physical.add_databaseinfra %}
6+ {% if custom_list %}
77< div class ="container-fluid ">
88 < div class ="row-fluid dashboard-tools ">
99 {% if perms.simple_audit.change_audit %}
Original file line number Diff line number Diff line change 2020from .vip_instance_group import VipInstanceGroupAdmin
2121from .disk_offering_type import DiskOfferingTypeAdmin
2222from .script import ScriptAdmin
23+ from ..views import plans_details
2324
2425admin .site .register (models .DatabaseInfra , DatabaseInfraAdmin )
2526admin .site .register (models .Engine , EngineAdmin )
4142admin .site .register (models .VipInstanceGroup , VipInstanceGroupAdmin )
4243admin .site .register (models .DiskOfferingType , DiskOfferingTypeAdmin )
4344admin .site .register (models .Volume )
44-
45+ admin . site . register_view ( '/physical/plans_details/' , name = "Plan details" , view = plans_details )
You can’t perform that action at this time.
0 commit comments