summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/recipes.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-03-15 01:00:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 11:17:33 +0000
commit4f44b8b95244efc1465a5c0f62b67e42e81dfc4e (patch)
tree6819fa21c59d267db86a81b1d73509f9a270e85d /bitbake/lib/toaster/toastergui/templates/recipes.html
parentcf3d6bdafd1a44d1f3f12e4cd3a769eae31809e4 (diff)
downloadpoky-4f44b8b95244efc1465a5c0f62b67e42e81dfc4e.tar.gz
bitbake: 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] (Bitbake rev: 8d71bd39947dd909d02c8d33847e5852c9f20f19) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html')
-rwxr-xr-xbitbake/lib/toaster/toastergui/templates/recipes.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html
index 860d30d318..22c3d1a5ac 100755
--- a/bitbake/lib/toaster/toastergui/templates/recipes.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipes.html
@@ -10,10 +10,10 @@
10<div class="span10"> 10<div class="span10">
11<div class="page-header"> 11<div class="page-header">
12<h1> 12<h1>
13 {% if request.GET.filter or request.GET.search and objects.count > 0 %} 13 {% if request.GET.search and objects.paginator.count > 0 %}
14 {{objects.paginator.count}} recipe{{objects.paginator.count|pluralize}} found 14 {{objects.paginator.count}} recipe{{objects.paginator.count|pluralize}} found
15 {%elif objects.paginator.count == 0%} 15 {%elif request.GET.search and objects.paginator.count == 0%}
16 No Recipes 16 No recipes found
17 {%else%} 17 {%else%}
18 Recipes 18 Recipes
19 {%endif%} 19 {%endif%}