diff options
author | thuva4 <tharma.thuva@gmail.com> | 2017-12-05 05:13:32 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2017-12-05 05:47:00 +0530 |
commit | 41ff15069d96ea1040cb457b39f909967dabb8bc (patch) | |
tree | cc60bf106552ccb7223434cb387fdb0df258ae78 /testapi/opnfv_testapi/ui/app.js | |
parent | ae88dfd997ae0516ec097033c378740ea8580483 (diff) |
Add view option in pods page
Created the view function for the pods page.
It will redirect to pods/:name page where user
can see the more details about the pod.
Change-Id: I0d6c06098fd78ecca523a49e2bb532001adaeaa8
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/app.js')
-rw-r--r-- | testapi/opnfv_testapi/ui/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/ui/app.js b/testapi/opnfv_testapi/ui/app.js index 77fb1fb..28e5810 100644 --- a/testapi/opnfv_testapi/ui/app.js +++ b/testapi/opnfv_testapi/ui/app.js @@ -64,6 +64,11 @@ templateUrl: 'testapi-ui/components/pods/pods.html', controller: 'PodsController as ctrl' }). + state('pod', { + url: '/pods/:name', + templateUrl: 'testapi-ui/components/pods/pod/pod.html', + controller: 'PodController as ctrl' + }). state('projects', { url: '/projects', templateUrl: 'testapi-ui/components/projects/projects.html', |