diff --git a/InvenTree/templates/InvenTree/search.html b/InvenTree/templates/InvenTree/search.html index c030fb42a7..135c9807bc 100644 --- a/InvenTree/templates/InvenTree/search.html +++ b/InvenTree/templates/InvenTree/search.html @@ -18,8 +18,10 @@ InvenTree | {% trans "Search Results" %}


+{% if query %} +
-

{% trans "No results found" %}

+

{% trans "No results found for " %}'{{ query }}'

{% include "InvenTree/search_part_category.html" with collapse_id="categories" %} @@ -34,6 +36,14 @@ InvenTree | {% trans "Search Results" %} {% include "InvenTree/search_stock_items.html" with collapse_id="stock" %} +{% else %} + +
+

{% trans "No results found for " %}'{{ query }}'

+
+ +{% endif %} + {% endblock %} {% block js_load %}