diff options
Diffstat (limited to 'lib/toaster/toastergui/templates/recipes.html')
-rwxr-xr-x | lib/toaster/toastergui/templates/recipes.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/templates/recipes.html b/lib/toaster/toastergui/templates/recipes.html index 860d30d31..22c3d1a5a 100755 --- a/lib/toaster/toastergui/templates/recipes.html +++ b/lib/toaster/toastergui/templates/recipes.html @@ -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%} |