From 216e56b2c4bdc00ef0376db9e6dc36ee4df5d535 Mon Sep 17 00:00:00 2001 From: Kálmán Viktor Date: Thu, 29 May 2014 14:30:42 +0200 Subject: [PATCH] dashboard: better message if no search result --- circle/dashboard/templates/dashboard/vm-list.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/circle/dashboard/templates/dashboard/vm-list.html b/circle/dashboard/templates/dashboard/vm-list.html index 983f0df..8aac672 100644 --- a/circle/dashboard/templates/dashboard/vm-list.html +++ b/circle/dashboard/templates/dashboard/vm-list.html @@ -68,7 +68,15 @@ {% endif %} {% empty %} - {% trans "You have no virtual machines." %} + + + {% if request.GET.s %} + {% trans "No result." %} + {% else %} + {% trans "You have no virtual machines." %} + {% endif %} + + {% endfor %} -- libgit2 0.26.0