Channel searching: indicate if there's no results

This commit is contained in:
James Taylor 2019-12-23 15:09:44 -08:00
parent 9737ffcf82
commit a428d47bde

View File

@ -161,7 +161,11 @@
{% elif current_tab == 'playlists' %}
{% set sorts = [('2', 'oldest'), ('3', 'newest'), ('4', 'last video added')] %}
{% elif current_tab == 'search' %}
<h2 class="page-number">Page {{ page_number }}</h2>
{% if items %}
<h2 class="page-number">Page {{ page_number }}</h2>
{% else %}
<h2 class="page-number">No results</h2>
{% endif %}
{% else %}
{% set sorts = [] %}
{% endif %}