diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/build.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html index 7d13cc89a1..afa390fc17 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html | |||
| @@ -85,10 +85,10 @@ | |||
| 85 | {% else %} | 85 | {% else %} |
| 86 | <div class="page-header top-air"> | 86 | <div class="page-header top-air"> |
| 87 | <h1> | 87 | <h1> |
| 88 | {% if request.GET.filter and objects.count or request.GET.search and objects.count > 0 %} | 88 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} |
| 89 | {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found | 89 | {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found |
| 90 | {%elif objects.paginator.count == 0%} | 90 | {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} |
| 91 | No builds | 91 | No builds found |
| 92 | {%else%} | 92 | {%else%} |
| 93 | All builds | 93 | All builds |
| 94 | {%endif%} | 94 | {%endif%} |
