summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/index-status-tmpl.html
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-03-28 19:15:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-03-28 19:15:11 +0000
commit344bc79ecf6efcc28fc1ac78aaa2e9708a4037ff (patch)
tree179e8e3f7da0b415fc71ce22393200f8a79280b0 /utils/test/reporting/index-status-tmpl.html
parent9209de0961d4229ba535b20fe9385a9c7138c311 (diff)
parent70e38d07f681b165291406cc4e010377c6202041 (diff)
Merge "Complete reporting status, process the scenario and get success criteria"
Diffstat (limited to 'utils/test/reporting/index-status-tmpl.html')
-rw-r--r--utils/test/reporting/index-status-tmpl.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/test/reporting/index-status-tmpl.html b/utils/test/reporting/index-status-tmpl.html
index 130ecd5c1..0fd470d6f 100644
--- a/utils/test/reporting/index-status-tmpl.html
+++ b/utils/test/reporting/index-status-tmpl.html
@@ -37,7 +37,7 @@
</div>
<div class="scenario-overview">
- <div class="panel-heading"><h4><b>List of last scenarios run over the last 7 days </b></h4></div>
+ <div class="panel-heading"><h4><b>List of last scenarios run over the last {{period}} days </b></h4></div>
<table class="table">
<tr>
<th width="80%">Scenario</th>
@@ -72,11 +72,13 @@
</tr>
<tr class="tr-weather-weather">
{% for test in items[scenario] -%}
- {% if test.getCriteria() > 3 -%}
+ {% if test.isRunnable is sameas false -%}
+ <td>N.R</td>
+ {% elif test.getCriteria() > 2 -%}
<td><img src="./img/weather-clear.png"></td>
- {%- elif test.getCriteria() > 2 -%}
- <td><img src="./img/weather-few-clouds.png"></td>
{%- elif test.getCriteria() > 1 -%}
+ <td><img src="./img/weather-few-clouds.png"></td>
+ {%- elif test.getCriteria() > 0 -%}
<td><img src="./img/weather-overcast.png"></td>
{%- else -%}
<td><img src="./img/weather-storm.png"></td>