diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-03-15 01:00:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-25 11:17:33 +0000 |
commit | 4f44b8b95244efc1465a5c0f62b67e42e81dfc4e (patch) | |
tree | 6819fa21c59d267db86a81b1d73509f9a270e85d /bitbake/lib/toaster/toastergui/templates/tasks.html | |
parent | cf3d6bdafd1a44d1f3f12e4cd3a769eae31809e4 (diff) | |
download | poky-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/tasks.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/tasks.html | 6 |
1 files changed, 3 insertions, 3 deletions
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%} |