From patchwork Wed Nov 9 00:11:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 4960 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 2011323E13 for ; Wed, 9 Nov 2011 00:11:20 +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 1503DA1801F for ; Wed, 9 Nov 2011 00:11:20 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so1612520faa.11 for ; Tue, 08 Nov 2011 16:11:20 -0800 (PST) Received: by 10.152.106.115 with SMTP id gt19mr37592lab.27.1320797478203; Tue, 08 Nov 2011 16:11:18 -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.14.103 with SMTP id o7cs110466lac; Tue, 8 Nov 2011 16:11:17 -0800 (PST) Received: by 10.216.203.69 with SMTP id e47mr4792058weo.60.1320797473450; Tue, 08 Nov 2011 16:11:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id n41si1710759weq.146.2011.11.08.16.11.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Nov 2011 16:11:13 -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 1RNvl2-0003Kt-UG for ; Wed, 09 Nov 2011 00:11:12 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id DC1BBE04DF for ; Wed, 9 Nov 2011 00:11:12 +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: 279 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 279: Make all lava-dashboard views associated with lava-server index breadcrumb Message-Id: <20111109001112.12397.10042.launchpad@ackee.canonical.com> Date: Wed, 09 Nov 2011 00:11:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14263"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: a8dd1ce393680844cd85c64f7e09887e28ab6ece ------------------------------------------------------------ revno: 279 committer: Zygmunt Krynicki branch nick: lava-dashboard timestamp: Wed 2011-11-09 01:00:44 +0100 message: Make all lava-dashboard views associated with lava-server index breadcrumb modified: dashboard_app/views.py --- 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/views.py' --- dashboard_app/views.py 2011-10-06 12:03:00 +0000 +++ dashboard_app/views.py 2011-11-09 00:00:44 +0000 @@ -46,6 +46,7 @@ TestRun, TestingEffort, ) +from lava_server.views import index as lava_index from lava_server.bread_crumbs import ( BreadCrumb, BreadCrumbTrail, @@ -90,7 +91,7 @@ raise Http404('No %s matches the given query.' % queryset.model._meta.object_name) -@BreadCrumb("Dashboard") +@BreadCrumb("Dashboard", parent=lava_index) def index(request): return render_to_response( "dashboard_app/index.html", {