From patchwork Fri Aug 19 04:21:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 3536 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 3A90C23E54 for ; Fri, 19 Aug 2011 04:21:20 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0B4CCA183CF for ; Fri, 19 Aug 2011 04:21:19 +0000 (UTC) Received: by ywo7 with SMTP id 7so2816760ywo.11 for ; Thu, 18 Aug 2011 21:21:19 -0700 (PDT) Received: by 10.150.75.20 with SMTP id x20mr1589342yba.219.1313727679505; Thu, 18 Aug 2011 21:21:19 -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 f17cs81948ybe; Thu, 18 Aug 2011 21:21:19 -0700 (PDT) Received: by 10.216.185.9 with SMTP id t9mr29818wem.94.1313727675424; Thu, 18 Aug 2011 21:21:15 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id c13si7337262wed.122.2011.08.18.21.21.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Aug 2011 21:21:15 -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 1QuGa2-0000M8-Fl for ; Fri, 19 Aug 2011 04:21:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7156AE0444 for ; Fri, 19 Aug 2011 04:21:14 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 225 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 225: Rename lava.extensions to lava.extension_list Message-Id: <20110819042114.16581.87201.launchpad@ackee.canonical.com> Date: Fri, 19 Aug 2011 04:21:14 -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: 95337932a0f02587faf03e850310c7e338b3a006 ------------------------------------------------------------ revno: 225 committer: Zygmunt Krynicki branch nick: pristine timestamp: Thu 2011-08-18 17:00:07 +0200 message: Rename lava.extensions to lava.extension_list modified: lava_server/context_processors.py lava_server/templates/layouts/content.html lava_server/templates/version_details.html --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/context_processors.py' --- lava_server/context_processors.py 2011-05-24 16:18:45 +0000 +++ lava_server/context_processors.py 2011-08-18 15:00:07 +0000 @@ -24,7 +24,7 @@ def lava(request): return { 'lava': { - 'extensions': loader.extensions, + 'extension_list': loader.extensions, 'version': versiontools.format_version(__version__) } } === modified file 'lava_server/templates/layouts/content.html' --- lava_server/templates/layouts/content.html 2011-08-13 00:26:55 +0000 +++ lava_server/templates/layouts/content.html 2011-08-18 15:00:07 +0000 @@ -39,7 +39,7 @@
  • {% trans "LAVA Server" %}
  • - {% for extension in lava.extensions %} + {% for extension in lava.extension_list %}
  • {{ extension.name }}
  • {% endfor %}
  • {% trans "API" %}
  • === modified file 'lava_server/templates/version_details.html' --- lava_server/templates/version_details.html 2011-07-08 02:56:22 +0000 +++ lava_server/templates/version_details.html 2011-08-18 15:00:07 +0000 @@ -11,15 +11,13 @@

    LAVA Server

    You are using LAVA Server version {{ lava.version }}

    Extensions

    -{% with lava.extensions as extension_list %} -{% if extension_list %} +{% if lava.extension_list %}
      - {% for extension in extension_list %} + {% for extension in lava.extension_list %}
    • Extension {{ extension.name }} version {{ extension.version }}
    • {% endfor %}
    {% else %}

    No server extension have been installed yet

    {% endif %} -{% endwith %} {% endblock %}