From c9d1cb299ac67aa71653f1f8d978b2b07b790965 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Wed, 12 Aug 2015 11:33:43 +0100 Subject: bitbake: toaster: fix invalid fields in the package details page This patch safeguards referencing invalid fields in the project details template, and fixes errors thrown in the page. [YOCTO #7992] (Bitbake rev: 64b30bc15e87f81eddac79872b2282c435827ad0) Signed-off-by: Alexandru DAMIAN Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- .../toastergui/templates/package_included_reverse_dependencies.html | 2 +- bitbake/lib/toaster/toastergui/templates/tablesort.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html index 4ba472f2d6..5cc8b47a60 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html @@ -23,7 +23,7 @@ {% include "tablesort.html" %} {% for reverse_dep in objects %} - + {% if reverse_dep.size != -1 %} diff --git a/bitbake/lib/toaster/toastergui/templates/tablesort.html b/bitbake/lib/toaster/toastergui/templates/tablesort.html index bf311b6edd..362474293e 100644 --- a/bitbake/lib/toaster/toastergui/templates/tablesort.html +++ b/bitbake/lib/toaster/toastergui/templates/tablesort.html @@ -5,7 +5,7 @@ {% for tc in tablecols %} - + {%if tc.qhelp%}{%endif%} {{tc.name}} @@ -18,7 +18,7 @@ {% for tc in tablecols %} - + {%if tc.qhelp%}{%endif%} {%if tc.orderfield%}