summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basetable_top.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-11 13:14:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-26 09:27:31 +0100
commitb98a2fcab600d74a01b76fe3f9e5249642f2c32b (patch)
tree7a1c4c87872c16ea6c56e73d9d43f921b0e3cfb9 /bitbake/lib/toaster/toastergui/templates/basetable_top.html
parent933e4dbb5048ea84c32f2313e6c8e5ca7895fe48 (diff)
downloadpoky-b98a2fcab600d74a01b76fe3f9e5249642f2c32b.tar.gz
bitbake: toaster: fixing undefined variables
This patchset fixes usage of undefined variables in the base page. (Bitbake rev: a9e889af41e1e59c3b426c78ba80e4d49c6c122b) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_top.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basetable_top.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
index fcd2f036ec..8dd56ed224 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
@@ -162,7 +162,7 @@
162<div class="navbar"> 162<div class="navbar">
163 <div class="navbar-inner"> 163 <div class="navbar-inner">
164 <form class="navbar-search input-append pull-left" id="searchform"> 164 <form class="navbar-search input-append pull-left" id="searchform">
165 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} 165 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%}
166 <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> 166 <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
167 <input type="hidden" name="page" value="1"> 167 <input type="hidden" name="page" value="1">
168 <button class="btn" type="submit" value="Search">Search</button> 168 <button class="btn" type="submit" value="Search">Search</button>
@@ -191,7 +191,12 @@
191 onclick="showhideTableColumn( 191 onclick="showhideTableColumn(
192 $(this).attr('id'), 192 $(this).attr('id'),
193 $(this).is(':checked'), 193 $(this).is(':checked'),
194 '{{i.orderkey}}' )" 194 {% if i.ordericon %}
195 '{{i.orderkey}}'
196 {% else %}
197 undefined
198 {% endif %}
199 )"
195 {%else%} 200 {%else%}
196 checked disabled 201 checked disabled
197 {% endif %}/> {{i.name}} 202 {% endif %}/> {{i.name}}
@@ -221,7 +226,7 @@
221 <thead> 226 <thead>
222 <!-- Table header row; generated from "tablecols" entry in the context dict --> 227 <!-- Table header row; generated from "tablecols" entry in the context dict -->
223 <tr> 228 <tr>
224 {% for tc in tablecols %}<th class="{{tc.dclass}} {{tc.clclass}}"> 229 {% for tc in tablecols %}<th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {% if tc.clclass %}{{tc.clclass}}{% endif %}">
225 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%} 230 {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%}
226 {%if tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'page': 1, 'orderby' : '{{tc.orderfield}}' })">{{tc.name}}</a>{%else%}<span class="muted">{{tc.name}}</span>{%endif%} 231 {%if tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'page': 1, 'orderby' : '{{tc.orderfield}}' })">{{tc.name}}</a>{%else%}<span class="muted">{{tc.name}}</span>{%endif%}
227 {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%} 232 {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%}