Commit 101e2f87d7f36eaaa1c904bbb98b43f46f5a6170
1 parent
46a37afa
Exists in
master
and in
39 other branches
Displaying query made by user if no results found
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/search/templates/search/search.html
@@ -70,6 +70,9 @@ | @@ -70,6 +70,9 @@ | ||
70 | {% empty %} | 70 | {% empty %} |
71 | <li class="text-center"> | 71 | <li class="text-center"> |
72 | {% trans "No results for your search." %} | 72 | {% trans "No results for your search." %} |
73 | + {% if request.GET.q %} | ||
74 | + <p class="text-muted">{% trans "You are searching for" %} {{ request.GET.q }}</p> | ||
75 | + {% endif %} | ||
73 | </li> | 76 | </li> |
74 | {% endfor %} | 77 | {% endfor %} |
75 | </ul> | 78 | </ul> |