Reproduce navigations

Details view does not reproduce side menu and breadcrumb properly
by refreshing or linking directory.
This patch fixes this issue.

Change-Id: Ice60cc61a990f1c5c9135992b91482ad7f2e6421
Closes-Bug: #1746706
This commit is contained in:
Shu Muto 2018-04-09 14:02:05 +09:00
parent 7887b3f41a
commit 33b730a33d
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
function run(registry, clusterTemplatesService, basePath, resourceType) {
registry.getResourceType(resourceType)
.setNames(gettext('Cluster Template'), gettext('Cluster Templates'))
.setDefaultIndexUrl('/project/cluster_templates/')
// for detail summary view on table row
.setSummaryTemplateUrl(basePath + 'details/drawer.html')
// for table row items and detail summary view.

View File

@ -60,7 +60,7 @@
function run(registry, clustersService, basePath, resourceType) {
registry.getResourceType(resourceType)
.setNames(gettext('Cluster'), gettext('Clusters'))
.setDefaultIndexUrl('/project/clusters/')
// for detail summary view on table row.
.setSummaryTemplateUrl(basePath + 'details/drawer.html')
// for table row items and detail summary view.