From 41ff15069d96ea1040cb457b39f909967dabb8bc Mon Sep 17 00:00:00 2001 From: thuva4 Date: Tue, 5 Dec 2017 05:13:32 +0530 Subject: 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 --- testapi/opnfv_testapi/ui/app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testapi/opnfv_testapi/ui/app.js') 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', -- cgit 1.2.3-korg