diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-03-13 07:29:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-13 07:29:21 +0000 |
commit | 424c55b290faf19983e823f0a36b8a93290bbe7b (patch) | |
tree | 89e1860e0fab64f38af892a71acfd7859487dd28 /testapi/opnfv_testapi/ui/components/deploy-results | |
parent | bc44aca254ebcb00be706fa1ff1143c7950eb312 (diff) | |
parent | a9df42e4594b772e10a41e1a357b382e2364a458 (diff) |
Merge "Change deatails in deploy result page to dynamic"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/deploy-results')
-rw-r--r-- | testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html b/testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html index f02f910..82a0780 100644 --- a/testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html +++ b/testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html @@ -61,21 +61,11 @@ <table class="table" ng-class="{'hidden' : !ctrl.details}" style="margin:10px"> <tbody> <tr style="padding:9px"></tr> - <tr style="padding:9px"> - <td class="podsTableTd">Failures :</td> - <td width="90%" class="podsTableLeftTd">{{ctrl.data.details.failures}}</td> + <tr ng-repeat-start="(index, detail) in ctrl.data.details" style="padding:9px"> + <td class="podsTableTd">{{index | capitalize}} :</td> + <td width="90%" class="podsTableLeftTd">{{detail}}</td> </tr> - <tr style="padding:9px"> - <td class="podsTableTd">Details :</td> - <td width="90%" class="podsTableLeftTd">{{ctrl.data.details.errors}}</td> - </tr> - <tr style="padding:9px"> - <td class="podsTableTd">Stream :</td> - <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.stream}}</p></td> - </tr> - <tr style="padding:9px"> - <td class="podsTableTd">TestsRun :</td> - <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.testsRun}}</p></td> + <tr ng-repeat-end=> </tr> </tbody> </table> |