From patchwork Mon Aug 22 05:41:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 3592 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 A408423F4D for ; Mon, 22 Aug 2011 05:41:17 +0000 (UTC) Received: from mail-gw0-f52.google.com (mail-gw0-f52.google.com [74.125.83.52]) by fiordland.canonical.com (Postfix) with ESMTP id 754FBA185F7 for ; Mon, 22 Aug 2011 05:41:17 +0000 (UTC) Received: by gwj15 with SMTP id 15so4085279gwj.11 for ; Sun, 21 Aug 2011 22:41:17 -0700 (PDT) Received: by 10.150.132.17 with SMTP id f17mr1895045ybd.105.1313991676917; Sun, 21 Aug 2011 22:41:16 -0700 (PDT) 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.150.157.17 with SMTP id f17cs183589ybe; Sun, 21 Aug 2011 22:41:16 -0700 (PDT) Received: by 10.216.56.2 with SMTP id l2mr1652186wec.70.1313991673929; Sun, 21 Aug 2011 22:41:13 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id 46si14479595wel.92.2011.08.21.22.41.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Aug 2011 22:41:13 -0700 (PDT) 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 1QvNG5-0006Ym-62 for ; Mon, 22 Aug 2011 05:41:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 21947E0618 for ; Mon, 22 Aug 2011 05:41:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-scheduler X-Launchpad-Branch: ~linaro-validation/lava-scheduler/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 71 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-scheduler/trunk] Rev 71: display an empty cell rather than None before a job has a device in job listings Message-Id: <20110822054113.4039.93262.launchpad@ackee.canonical.com> Date: Mon, 22 Aug 2011 05:41:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13697"; Instance="initZopeless config overlay" X-Launchpad-Hash: 3c3a09d8f70ce1b38dabc3dfa8a175ddfa6ac13a ------------------------------------------------------------ revno: 71 committer: Michael-Doyle Hudson branch nick: trunk timestamp: Mon 2011-08-22 17:20:36 +1200 message: display an empty cell rather than None before a job has a device in job listings modified: lava_scheduler_app/templates/lava_scheduler_app/alljobs.html lava_scheduler_app/templates/lava_scheduler_app/device.html lava_scheduler_app/templates/lava_scheduler_app/index.html --- lp:lava-scheduler https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk You are subscribed to branch lp:lava-scheduler. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription === modified file 'lava_scheduler_app/templates/lava_scheduler_app/alljobs.html' --- lava_scheduler_app/templates/lava_scheduler_app/alljobs.html 2011-08-04 09:28:39 +0000 +++ lava_scheduler_app/templates/lava_scheduler_app/alljobs.html 2011-08-22 05:20:36 +0000 @@ -24,7 +24,7 @@ {{ job.id }} {{ job.get_status_display }} - {{ job.actual_device }} + {{ job.actual_device|default:'' }} {{ job.submitter }} {{ job.submit_time }} === modified file 'lava_scheduler_app/templates/lava_scheduler_app/device.html' --- lava_scheduler_app/templates/lava_scheduler_app/device.html 2011-08-22 03:22:22 +0000 +++ lava_scheduler_app/templates/lava_scheduler_app/device.html 2011-08-22 05:20:36 +0000 @@ -70,7 +70,7 @@ {{ job.id }} {{ job.get_status_display }} - {{ job.actual_device }} + {{ job.actual_device|default:'' }} {{ job.submitter }} {{ job.start_time }} {{ job.end_time|default:"not finished" }} === modified file 'lava_scheduler_app/templates/lava_scheduler_app/index.html' --- lava_scheduler_app/templates/lava_scheduler_app/index.html 2011-08-22 03:24:30 +0000 +++ lava_scheduler_app/templates/lava_scheduler_app/index.html 2011-08-22 05:20:36 +0000 @@ -43,7 +43,7 @@ {{ job.id }} {{ job.get_status_display }} - {{ job.actual_device }} + {{ job.actual_device|default:'' }} {{ job.submitter }} {{ job.submit_time }}