summaryrefslogtreecommitdiffstats
path: root/bitbake
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
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')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/bpackage.html6
-rw-r--r--bitbake/lib/toaster/toastergui/templates/configvars.html6
-rwxr-xr-xbitbake/lib/toaster/toastergui/templates/recipes.html6
-rw-r--r--bitbake/lib/toaster/toastergui/templates/tasks.html6
4 files changed, 12 insertions, 12 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html
index 7da8ce7e14..dad0d7f48e 100644
--- a/bitbake/lib/toaster/toastergui/templates/bpackage.html
+++ b/bitbake/lib/toaster/toastergui/templates/bpackage.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}} package{{objects.paginator.count|pluralize}} found 14 {{objects.paginator.count}} package{{objects.paginator.count|pluralize}} found
15 {%elif objects.paginator.count == 0%} 15 {%elif request.GET.search and objects.paginator.count == 0%}
16 No Packages 16 No packages found
17 {%else%} 17 {%else%}
18 Packages 18 Packages
19 {%endif%} 19 {%endif%}
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html
index d7052534fc..24cb2a5427 100644
--- a/bitbake/lib/toaster/toastergui/templates/configvars.html
+++ b/bitbake/lib/toaster/toastergui/templates/configvars.html
@@ -10,10 +10,10 @@
10<div class="row-fluid span10"> 10<div class="row-fluid 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.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
14 {{objects.paginator.count}} variable{{objects.paginator.count|pluralize}} found 14 {{objects.paginator.count}} variable{{objects.paginator.count|pluralize}} found
15 {%elif objects.paginator.count == 0%} 15 {%elif request.GET.filter and objects.paginator.count == 0 or request.GETs.search and objects.paginator.count == 0 %}
16 No variables 16 No variables found
17 {%else%} 17 {%else%}
18 Configuration 18 Configuration
19 {%endif%} 19 {%endif%}
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%}
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html
index d881811bd9..a2629dc1cb 100644
--- a/bitbake/lib/toaster/toastergui/templates/tasks.html
+++ b/bitbake/lib/toaster/toastergui/templates/tasks.html
@@ -8,10 +8,10 @@
8<div class="span10"> 8<div class="span10">
9<div class="page-header"> 9<div class="page-header">
10<h1> 10<h1>
11 {% if request.GET.filter or request.GET.search and objects.count > 0 %} 11 {% if request.GET.filter or request.GET.search and objects.paginator.count > 0 %}
12 {{objects.paginator.count}} task{{objects.paginator.count|pluralize}} found 12 {{objects.paginator.count}} task{{objects.paginator.count|pluralize}} found
13 {%elif objects.paginator.count == 0%} 13 {%elif request.GET.filter or request.GET.search and objects.paginator.count == 0%}
14 No tasks 14 No tasks found
15 {%else%} 15 {%else%}
16 {{title}} 16 {{title}}
17 {%endif%} 17 {%endif%}