Merge "refactor dashboard_construct"
[releng.git] / utils / test / reporting / functest / template / index-tempest-tmpl.html
index be0b797..42d7ed3 100644 (file)
@@ -21,7 +21,7 @@
         <h3 class="text-muted">Tempest status page</h3>
         <nav>
           <ul class="nav nav-justified">
-            <li class="active"><a href="index.html">Home</a></li>
+            <li class="active"><a href="http://testresults.opnfv.org/reporting/index.html">Home</a></li>
             <li><a href="index-tempest-apex.html">Apex</a></li>
             <li><a href="index-tempest-compass.html">Compass</a></li>
             <li><a href="index-tempest-fuel.html">Fuel</a></li>
@@ -49,7 +49,7 @@
                         <div class="panel-heading">
                             <div class="progress-bar" role="progressbar" aria-valuenow="{{result.pr_step_ok}}" aria-valuemin="0" aria-valuemax="100" style="width: {{result.pr_step_ok}}%"></div>
                             <span class="panel-header-item">
-                                <h4><b>{{result.creation_date}}</b></h4>
+                                <h4><b>{{result.start_date}}</b></h4>
                             </span>
                             <span class="badge panel-pod-name">{{result.pod_name}}</span>
                         </div>
                                             <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 %}