Commit a76150b7 authored by Raphael Remorosa's avatar Raphael Remorosa

Simple "no results" response if zero search results

parent cbf76943
......@@ -11,7 +11,13 @@
{% endblock %}
{% block content %}
{% if results.count == 0 %}
<div class="w3-display-middle">
<h2>Sorry, but the thing you are looking for is not in our database.</h2>
</div>
{% endif %}
{% for i in results %}
<div class = " main w3-margin w3-card-4">
{% if type == "album" %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment