- {% if objects.paginator.count == 0 %}
- No builds found
+ {% if objects.paginator.count == 0 and request.GET.filter or request.GET.search %}
+ No builds found
{% else %}
{% if request.GET.filter or request.GET.search %}
@@ -25,6 +25,7 @@
{% if objects.paginator.count == 0 %}
+ {% if request.GET.filter or request.GET.search %}
-
+ {% else %}
+
+
+ This project has no builds.
+
+
+ {% endif %}
{% else %}
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html
index ec1fb9bd20..9cacce42d8 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
@@ -52,7 +52,7 @@
- {% if image_install_append %}{{image_install_append}}{%else%}Not set{%endif%}
+ {% if image_install_append %}{{image_install_append}}{%else%}Not set{%endif%}
+ This project has no builds. +
+
+ Toaster has not target information. To generate target information you can:
+