summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/configvars.html
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/toastergui/templates/configvars.html')
-rw-r--r--lib/toaster/toastergui/templates/configvars.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/templates/configvars.html b/lib/toaster/toastergui/templates/configvars.html
index d7052534f..24cb2a542 100644
--- a/lib/toaster/toastergui/templates/configvars.html
+++ b/lib/toaster/toastergui/templates/configvars.html
@@ -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%}