summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-03-13 12:32:54 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-03-13 12:32:54 +0530
commita9df42e4594b772e10a41e1a357b382e2364a458 (patch)
treea3cb1e473d1f8ea3410b0eeffdfde26b0e784f3d /testapi/opnfv_testapi
parentb9a37f073add2727be592d8fa994efa73772263b (diff)
Change deatails in deploy result page to dynamic
Change the static code of the show details in the deploy result page to dynamic JIRA: RELENG-358 Change-Id: Icce775ce988f4b0e6cd71101684154581d20c753 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi')
-rw-r--r--testapi/opnfv_testapi/ui/components/deploy-results/deploy-result/deployResult.html18
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 ba9bee7..2eba504 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
@@ -57,21 +57,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&nbsp;:</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}}&nbsp;:</td>
+ <td width="90%" class="podsTableLeftTd">{{detail}}</td>
</tr>
- <tr style="padding:9px">
- <td class="podsTableTd">Details&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">{{ctrl.data.details.errors}}</td>
- </tr>
- <tr style="padding:9px">
- <td class="podsTableTd">Stream&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.stream}}</p></td>
- </tr>
- <tr style="padding:9px">
- <td class="podsTableTd">TestsRun&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.testsRun}}</p></td>
+ <tr ng-repeat-end=>
</tr>
</tbody>
</table>