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 3
3
from ..views import dashboard , sofia_dashboard
4
4
5
5
import admin
6
- admin .site .register_view ('/dashboard/' , view = dashboard )
7
6
admin .site .register_view ('/dashboard/sofia_dashboard/' ,
8
7
name = 'Sofia Dashboard' ,
9
8
view = sofia_dashboard )
Original file line number Diff line number Diff line change 3
3
{% block sidebar %}
4
4
{{ block.super }}
5
5
6
- {% if custom_list and perms.physical.add_databaseinfra %}
6
+ {% if custom_list %}
7
7
< div class ="container-fluid ">
8
8
< div class ="row-fluid dashboard-tools ">
9
9
{% if perms.simple_audit.change_audit %}
Original file line number Diff line number Diff line change 20
20
from .vip_instance_group import VipInstanceGroupAdmin
21
21
from .disk_offering_type import DiskOfferingTypeAdmin
22
22
from .script import ScriptAdmin
23
+ from ..views import plans_details
23
24
24
25
admin .site .register (models .DatabaseInfra , DatabaseInfraAdmin )
25
26
admin .site .register (models .Engine , EngineAdmin )
41
42
admin .site .register (models .VipInstanceGroup , VipInstanceGroupAdmin )
42
43
admin .site .register (models .DiskOfferingType , DiskOfferingTypeAdmin )
43
44
admin .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