Skip to content

Commit

Permalink
Simple message when there are no search results
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeets-il committed Feb 5, 2016
1 parent e9bb705 commit 895f2a0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@

<hr/>

{% if not service_results %}
<span class="sd-no-search-results">
We're sorry, but we couldn't find any services related to your search.
Please <a href="{% url 'home' %}">click here</a> to see example keywords and categories, or change your search and try again.
</span>
{% endif %}

{% for service in search_results %}

<a href="{% url 'service-detail' service.id %}">
Expand Down

0 comments on commit 895f2a0

Please sign in to comment.