summaryrefslogtreecommitdiffstats
path: root/reporting/index-status-tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/index-status-tmpl.html')
-rw-r--r--reporting/index-status-tmpl.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/reporting/index-status-tmpl.html b/reporting/index-status-tmpl.html
index 130ecd5..0fd470d 100644
--- a/reporting/index-status-tmpl.html
+++ b/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>