summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
authorAmit Kumar Chaudhary <amit@floatingpondtech.com>2014-03-12 18:47:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-14 07:18:46 -0700
commitd3d3a2c6ba71767e49a5b62fe74bf3b47688b911 (patch)
treee562cce83656e3a1d68d732b2cec5c2fe9ef507e /bitbake/lib/toaster/toastergui/views.py
parent1db32b097b5a4f305e056ae26b940be832efa7cf (diff)
downloadpoky-d3d3a2c6ba71767e49a5b62fe74bf3b47688b911.tar.gz
bitbake: toaster: add errors and warnings listing
Add the errors and warnings listing to the build dashboard page. (Bitbake rev: 2004c0fd1dd049d26279ee10a18e69e6852247fa) Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rw-r--r--bitbake/lib/toaster/toastergui/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index a499c30b62..7f61ade9c8 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -356,7 +356,8 @@ def builddashboard(request, build_id):
356 return redirect(builds) 356 return redirect(builds)
357 context = { 357 context = {
358 'build' : Build.objects.filter(pk=build_id)[0], 358 'build' : Build.objects.filter(pk=build_id)[0],
359 'recipecount' : Recipe.objects.filter(layer_version__id__in=Layer_Version.objects.filter(build=build_id)).count() 359 'recipecount' : Recipe.objects.filter(layer_version__id__in=Layer_Version.objects.filter(build=build_id)).count(),
360 'logmessages' : LogMessage.objects.filter(build=build_id),
360 } 361 }
361 return render(request, template, context) 362 return render(request, template, context)
362 363