diff options
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/templates/channel.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 5b64737..a0cdff9 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -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 %} |