From f4755edc8686cde97701b6e496149048be528739 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 20 Feb 2014 14:32:32 +0000 Subject: bitbake: toaster: Add no search results page Adding the no search results page to the built packages (bpackage.html), variables (configvars.html), recipes (recipes.html) and tasks (tasks.html) tables. The change copies the code from the build.html template into the other 4 templates. There is probably a smarter way of doing this, though. (Bitbake rev: 3feff77091b3926c10ca8f30890c9049633ccb66) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/recipes.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html') diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index 724bcf5879..da5ac99bd5 100755 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html @@ -19,6 +19,19 @@ {%endif%} + +{% if objects.paginator.count == 0 %} +
+
+
+ + + +
+
+
+ +{% else %} {% include "basetable_top.html" %} {% for recipe in objects %} @@ -80,5 +93,6 @@ {% endfor %} {% include "basetable_bottom.html" %} +{% endif %} {% endblock %} -- cgit v1.2.3-54-g00ecf