From: Belen Barros Pena Date: Fri, 21 Feb 2014 11:57:57 +0000 (+0000) Subject: toaster: Don't show clear search button if text input field is empty X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cc4aaf08b51bb6cd8d1813c33989a788bd06990;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: Don't show clear search button if text input field is empty The clear search button should only show when the search text input field is populated. If it is empty (as it happens when a filter returns no results) the clear search button should not display. Signed-off-by: Belen Barros Pena --- diff --git a/lib/toaster/toastergui/templates/bpackage.html b/lib/toaster/toastergui/templates/bpackage.html index 54f4bb4d5d5..7da8ce7e14c 100644 --- a/lib/toaster/toastergui/templates/bpackage.html +++ b/lib/toaster/toastergui/templates/bpackage.html @@ -24,7 +24,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/lib/toaster/toastergui/templates/configvars.html b/lib/toaster/toastergui/templates/configvars.html index ae77be88c1c..d7052534fcf 100644 --- a/lib/toaster/toastergui/templates/configvars.html +++ b/lib/toaster/toastergui/templates/configvars.html @@ -35,7 +35,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/lib/toaster/toastergui/templates/recipes.html b/lib/toaster/toastergui/templates/recipes.html index da5ac99bd5f..860d30d3180 100755 --- a/lib/toaster/toastergui/templates/recipes.html +++ b/lib/toaster/toastergui/templates/recipes.html @@ -24,7 +24,7 @@
- + {% if request.GET.search %}{% endif %}
diff --git a/lib/toaster/toastergui/templates/tasks.html b/lib/toaster/toastergui/templates/tasks.html index f484867958d..d881811bd98 100644 --- a/lib/toaster/toastergui/templates/tasks.html +++ b/lib/toaster/toastergui/templates/tasks.html @@ -22,7 +22,7 @@
- + {% if request.GET.search %}{% endif %}