File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 18181818 <script type =" text/javascript" src =" scripts/ui-custom/securityRules.js" ></script >
18191819 <script type =" text/javascript" src =" scripts/ui-custom/vpc.js" ></script >
18201820 <script type =" text/javascript" src =" scripts/vpc.js" ></script >
1821- <script type =" text/javascript" src =" scripts/network.js" ></script >
18221821 <script type =" text/javascript" src =" scripts/ui-custom/recurringSnapshots.js" ></script >
18231822 <script type =" text/javascript" src =" scripts/ui-custom/uploadVolume.js" ></script >
18241823 <script type =" text/javascript" src =" scripts/storage.js" ></script >
18331832 <script type =" text/javascript" src =" scripts/ui-custom/physicalResources.js" ></script >
18341833 <script type =" text/javascript" src =" scripts/ui-custom/zoneWizard.js" ></script >
18351834 <script type =" text/javascript" src =" scripts/system.js" ></script >
1835+ <script type =" text/javascript" src =" scripts/network.js" ></script >
18361836 <script type =" text/javascript" src =" scripts/domains.js" ></script >
18371837 <script type =" text/javascript" src =" scripts/docs.js" ></script >
18381838 <script type =" text/javascript" src =" scripts/vm_snapshots.js" ></script >
Original file line number Diff line number Diff line change 11941194 hiddenTabs . push ( 'egressRules' ) ;
11951195 }
11961196
1197+ if ( ! isAdmin ( ) ) {
1198+ hiddenTabs . push ( "virtualRouters" ) ;
1199+ }
1200+
11971201 return hiddenTabs ;
11981202 } ,
11991203
18921896 }
18931897 } ) ;
18941898 }
1899+ } ,
1900+
1901+ virtualRouters : {
1902+ title : "label.virtual.appliances" ,
1903+ listView : cloudStack . sections . system . subsections . virtualRouters . sections . routerNoGroup . listView
18951904 }
18961905 }
18971906 }
59055914 }
59065915 } ) ;
59075916 }
5917+ } ,
5918+ virtualRouters : {
5919+ title : "label.virtual.routers" ,
5920+ listView : cloudStack . sections . system . subsections . virtualRouters . sections . routerNoGroup . listView
59085921 }
59095922 }
59105923 }
Original file line number Diff line number Diff line change 97699769 domainid: args.context.routerGroupByAccount[0].domainid
97709770 })
97719771 }
9772+ if ("networks" in args.context) {
9773+ $.extend(data2, {
9774+ networkid: args.context.networks[0].id
9775+ })
9776+ }
9777+ if ("vpc" in args.context) {
9778+ $.extend(data2, {
9779+ vpcid: args.context.vpc[0].id
9780+ })
9781+ }
97729782 }
97739783
97749784 var routers =[];
You can’t perform that action at this time.
0 commit comments