diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/templates/recipes.html | 6 |
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%} |