diff options
author | thuva4 <tharma.thuva@gmail.com> | 2018-01-08 15:11:17 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2018-01-09 13:49:55 +0530 |
commit | 9d07033a6949af2816fa4a7b234f2f3bcf027707 (patch) | |
tree | 604007ccaacac834f73c7ee1d5a1d0446ed6ce74 /testapi/opnfv_testapi/ui/components/results/resultsController.js | |
parent | 99b9c09aca0ff3bc9a723bc404ea6a0d09ee4ef3 (diff) |
Add links in prods,projects and results pages
Add links for the redirection
Created Result page
Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/results/resultsController.js')
-rw-r--r-- | testapi/opnfv_testapi/ui/components/results/resultsController.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/ui/components/results/resultsController.js b/testapi/opnfv_testapi/ui/components/results/resultsController.js index e9b4443..55bf0ba 100644 --- a/testapi/opnfv_testapi/ui/components/results/resultsController.js +++ b/testapi/opnfv_testapi/ui/components/results/resultsController.js @@ -62,6 +62,7 @@ ctrl.deleteTag = deleteTag; ctrl.filterList= filterList; ctrl.testFilter = testFilter + ctrl.viewResult = viewResult; ctrl.tagArray = {} @@ -127,6 +128,10 @@ ctrl.filterList(); } + function viewResult(_id){ + $state.go('result', {'_id':_id}, {reload: true}); + } + function deleteTag(index){ delete ctrl.tagArray[index]; ctrl.filterList(); |