From patchwork Thu Nov 17 17:20:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Larson X-Patchwork-Id: 5184 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3213624015 for ; Thu, 17 Nov 2011 17:20:26 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 1EE43A1862A for ; Thu, 17 Nov 2011 17:20:26 +0000 (UTC) Received: by faaa26 with SMTP id a26so5655444faa.11 for ; Thu, 17 Nov 2011 09:20:26 -0800 (PST) Received: by 10.152.105.226 with SMTP id gp2mr23804667lab.28.1321550425893; Thu, 17 Nov 2011 09:20:25 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs145037lal; Thu, 17 Nov 2011 09:20:24 -0800 (PST) Received: by 10.227.205.135 with SMTP id fq7mr12145707wbb.19.1321550423352; Thu, 17 Nov 2011 09:20:23 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id e15si10053388wbh.85.2011.11.17.09.20.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Nov 2011 09:20:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RR5dO-0006GK-PK for ; Thu, 17 Nov 2011 17:20:22 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id B451CE017C for ; Thu, 17 Nov 2011 17:20:22 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 283 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Thu, 17 Nov 2011 17:20:22 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14291"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: ef67fb9849ed6d827190366b05d7d9969603dde3 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 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 === 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 @@ {% trans "Bundle Name" %} + {% trans "Passes" %} + {% trans "Fails " %} + {% trans "Total Results" %} {% trans "Uploaded On" %} {% trans "Uploaded By" %} {% trans "Deserialized?" %} - {% trans "Problems?" %} {% for bundle in bundle_list %} {{ bundle.content_filename }} + {{ bundle.get_summary_results.pass }} + {{ bundle.get_summary_results.fail }} + {{ bundle.get_summary_results.total }} {{ bundle.uploaded_on|date:"Y-m-d H:i:s"}} {% if bundle.uploaded_by %} @@ -80,7 +85,6 @@ {% endif %} {{ bundle.is_deserialized|yesno }} - {% if bundle.deserialization_error %}yes{% endif %} {% endfor %}