Skip to content

Commit

Permalink
virtual router detail page show defaultroutel3networkuuid
Browse files Browse the repository at this point in the history
  • Loading branch information
QiRaining committed Nov 29, 2016
1 parent 66e762b commit 20add0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ts/virtualRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ module MVirtualRouter {
field: 'name',
title: '{{"virtualRouter.ts.NAME" | translate}}',
width: '20%',
template: '<a href="/\\#/vmInstance/{{dataItem.uuid}}">{{dataItem.name}}</a>'
template: '<a href="/\\#/virtualRouter/{{dataItem.uuid}}">{{dataItem.name}}</a>'
},
{
field: 'description',
Expand Down
2 changes: 1 addition & 1 deletion zstack_dashboard/static/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28905,7 +28905,7 @@ var MVirtualRouter;
field: 'name',
title: '{{"virtualRouter.ts.NAME" | translate}}',
width: '20%',
template: '<a href="/\\#/vmInstance/{{dataItem.uuid}}">{{dataItem.name}}</a>'
template: '<a href="/\\#/virtualRouter/{{dataItem.uuid}}">{{dataItem.name}}</a>'
},
{
field: 'description',
Expand Down
4 changes: 4 additions & 0 deletions zstack_dashboard/static/templates/virtualRouter/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ <h1>{{model.current.name}}</h1>
<td><span class="z-label">{{"virtualRouter.details.INSTANCE OFFERING UUID" | translate}}:</span></td>
<td><a href="/#/instanceOffering/{{model.current.instanceOfferingUuid}}">{{model.current.instanceOfferingUuid}}</a></td>
</tr>
<tr>
<td><span class="z-label">{{"vm.details.DEFAULT L3 NETWORK UUID" | translate}}</span></td>
<td><a href="/#/l3Network/{{model.current.defaultRouteL3NetworkUuid}}">{{model.current.defaultRouteL3NetworkUuid}}</a></td>
</tr>
<tr>
<td><span class="z-label">{{"virtualRouter.details.IMAGE UUID" | translate}}:</span></td>
<td><a href="/#/image/{{model.current.imageUuid}}">{{model.current.imageUuid}}</a></td>
Expand Down

0 comments on commit 20add0d

Please sign in to comment.