summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/tablesort.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-08-12 11:33:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-17 08:48:27 +0100
commitc9d1cb299ac67aa71653f1f8d978b2b07b790965 (patch)
tree4657a08a046dbcbc5ca31b5b3fa6d2e34101ded0 /bitbake/lib/toaster/toastergui/templates/tablesort.html
parent8ab2101166090d1478456db9cab7014f74b0ab03 (diff)
downloadpoky-c9d1cb299ac67aa71653f1f8d978b2b07b790965.tar.gz
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 <alexandru.damian@intel.com> Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/tablesort.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/tablesort.html4
1 files changed, 2 insertions, 2 deletions
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 @@
5 <thead> 5 <thead>
6 <tr> 6 <tr>
7 {% for tc in tablecols %} 7 {% for tc in tablecols %}
8 <th class="{{tc.dclass}} {{tc.clclass}}"> 8 <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
9 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%} 9 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
10 {{tc.name}} 10 {{tc.name}}
11 </th> 11 </th>
@@ -18,7 +18,7 @@
18 <!-- Table header row; generated from "tablecols" entry in the context dict --> 18 <!-- Table header row; generated from "tablecols" entry in the context dict -->
19 <tr> 19 <tr>
20 {% for tc in tablecols %} 20 {% for tc in tablecols %}
21 <th class="{{tc.dclass}} {{tc.clclass}}"> 21 <th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {%if tc.clclass%}{{tc.clclass}}{%endif%}">
22 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%} 22 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
23 {%if tc.orderfield%} 23 {%if tc.orderfield%}
24 <a {%if tc.ordericon%} class="sorted" {%endif%} 24 <a {%if tc.ordericon%} class="sorted" {%endif%}