summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/configvars.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-03-15 01:00:29 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2014-03-24 18:32:19 +0000
commit8d71bd39947dd909d02c8d33847e5852c9f20f19 (patch)
treeb009faf74f1d4735cdc39be4d68b36a00ba271e4 /lib/toaster/toastergui/templates/configvars.html
parent0047dd486c23707dd0fd7f9a2ae485b987d0b3e3 (diff)
downloadbitbake-8d71bd39947dd909d02c8d33847e5852c9f20f19.tar.gz
toaster: Change "0 found" to "No found"
Change the string in the h1 when search returns no results from "0 things found" to "None things found". The change applies to the BitBake variables, tasks, recipes, packages built, time, CPU and disk I/O tables. [YOCTO #5981] Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/configvars.html')
-rw-r--r--lib/toaster/toastergui/templates/configvars.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/templates/configvars.html b/lib/toaster/toastergui/templates/configvars.html
index d7052534f..24cb2a542 100644
--- a/lib/toaster/toastergui/templates/configvars.html
+++ b/lib/toaster/toastergui/templates/configvars.html
@@ -10,10 +10,10 @@
<div class="row-fluid span10">
<div class="page-header">
<h1>
- {% if request.GET.filter or request.GET.search and objects.count > 0 %}
+ {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
{{objects.paginator.count}} variable{{objects.paginator.count|pluralize}} found
- {%elif objects.paginator.count == 0%}
- No variables
+ {%elif request.GET.filter and objects.paginator.count == 0 or request.GETs.search and objects.paginator.count == 0 %}
+ No variables found
{%else%}
Configuration
{%endif%}