diff mbox

[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
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Nov. 9, 2011, 12:11 a.m. UTC
------------------------------------------------------------
revno: 279
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
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
diff mbox

Patch

=== 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", {