diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 283: Some minor improvements to the bundle list template:

Message ID 20111117172022.25075.97200.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson Nov. 17, 2011, 5:20 p.m. UTC
Merge authors:
  Paul Larson (pwlars)
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-dashboard/bundle-list-details/+merge/82305
  proposed by: Paul Larson (pwlars)
  review: Approve - Yongqin Liu (liuyq0307)
------------------------------------------------------------
revno: 283 [merge]
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dashboard
timestamp: Thu 2011-11-17 11:17:57 -0600
message:
  Some minor improvements to the bundle list template:
  1. Remove "problems?" field, seems a bit redundant, and ambiguous
  2. Add passes/fails/totals details for each bundle
  
  The rationale behind this is that by looking at a bundle stream, you can
  easily spot bundles that have unusual results, for example, runs that
  didn't complete properly, massive numbers of failures, etc.
modified:
  dashboard_app/templates/dashboard_app/bundle_list.html


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/templates/dashboard_app/bundle_list.html'
--- dashboard_app/templates/dashboard_app/bundle_list.html	2011-09-27 21:30:09 +0000
+++ dashboard_app/templates/dashboard_app/bundle_list.html	2011-11-15 19:03:46 +0000
@@ -61,16 +61,21 @@ 
   <thead>
     <tr>
       <th>{% trans "Bundle Name" %}</th>
+      <th>{% trans "Passes" %}</th>
+      <th>{% trans "Fails " %}</th>
+      <th>{% trans "Total Results" %}</th>
       <th>{% trans "Uploaded On" %}</th>
       <th>{% trans "Uploaded By" %}</th>
       <th>{% trans "Deserialized?" %}</th>
-      <th>{% trans "Problems?" %}</th>
     </tr>
   </thead>
   <tbody>
     {% for bundle in bundle_list %}
     <tr>
       <td><a href="{{ bundle.get_absolute_url }}"><code>{{ bundle.content_filename }}</code></a></td>
+      <td>{{ bundle.get_summary_results.pass }}</td>
+      <td>{{ bundle.get_summary_results.fail }}</td>
+      <td>{{ bundle.get_summary_results.total }}</td>
       <td>{{ bundle.uploaded_on|date:"Y-m-d H:i:s"}}</td>
       <td>
         {% if bundle.uploaded_by %}
@@ -80,7 +85,6 @@ 
         {% endif %}
       </td>
       <td>{{ bundle.is_deserialized|yesno }}</td>
-      <td>{% if bundle.deserialization_error %}yes{% endif %}</td>
     </tr>
     {% endfor %}
   </tbody>