diff options
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%} |