summaryrefslogtreecommitdiffstats
path: root/reporting/functest/template
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-31 16:38:58 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-05-31 14:45:47 +0000
commitfb04039e901a45a14d2ad3ca161602853fb107fa (patch)
tree9d9b23d3e13101f8ad050d4eb3f95dacc9e8fab7 /reporting/functest/template
parentfa69670740d165b896eebd9efaa071482f0b8fd8 (diff)
Add Tempest error in Tempest reporting
JIRA: FUNCTEST-150 Change-Id: I0b2a3a38bbbb11a80c761c23c71c2f45a959e477 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/functest/template')
-rw-r--r--reporting/functest/template/index-tempest-tmpl.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/reporting/functest/template/index-tempest-tmpl.html b/reporting/functest/template/index-tempest-tmpl.html
index be0b797..b8260ed 100644
--- a/reporting/functest/template/index-tempest-tmpl.html
+++ b/reporting/functest/template/index-tempest-tmpl.html
@@ -67,14 +67,18 @@
<td>{{item}}</td>
<td>{{result.details[item]}}</td>
<td><span class="glyphicon glyphicon-ok"></td>
- <td>{{result.errors[item]}}</td>
+ {% if item is equalto "Success rate" %}
+ <td>{{result.errors}}</td>
+ {% endif %}
</tr>
{%- else -%}
<tr class="tr-danger">
<td>{{item}}</td>
<td>{{result.details[item]}}</td>
<td><span class="glyphicon glyphicon-remove"></td>
- <td>{{result.errors[item]}}</td>
+ {% if item is equalto "Success rate" %}
+ <td>{{result.errors}}</td>
+ {% endif %}
</tr>
{%- endif %}
{%- endif %}