mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 14:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cf3d6bdafd
commit
4f44b8b952
@@ -10,10 +10,10 @@
|
||||
<div class="span10">
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
|
||||
{% if request.GET.search and objects.paginator.count > 0 %}
|
||||
{{objects.paginator.count}} package{{objects.paginator.count|pluralize}} found
|
||||
{%elif objects.paginator.count == 0%}
|
||||
No Packages
|
||||
{%elif request.GET.search and objects.paginator.count == 0%}
|
||||
No packages found
|
||||
{%else%}
|
||||
Packages
|
||||
{%endif%}
|
||||
|
||||
@@ -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%}
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<div class="span10">
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
|
||||
{% if request.GET.search and objects.paginator.count > 0 %}
|
||||
{{objects.paginator.count}} recipe{{objects.paginator.count|pluralize}} found
|
||||
{%elif objects.paginator.count == 0%}
|
||||
No Recipes
|
||||
{%elif request.GET.search and objects.paginator.count == 0%}
|
||||
No recipes found
|
||||
{%else%}
|
||||
Recipes
|
||||
{%endif%}
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
<div class="span10">
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
|
||||
{% if request.GET.filter or request.GET.search and objects.paginator.count > 0 %}
|
||||
{{objects.paginator.count}} task{{objects.paginator.count|pluralize}} found
|
||||
{%elif objects.paginator.count == 0%}
|
||||
No tasks
|
||||
{%elif request.GET.filter or request.GET.search and objects.paginator.count == 0%}
|
||||
No tasks found
|
||||
{%else%}
|
||||
{{title}}
|
||||
{%endif%}
|
||||
|
||||
Reference in New Issue
Block a user