From a428d47bde199a3837dcc0208cb240a1dac61992 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 23 Dec 2019 15:09:44 -0800 Subject: Channel searching: indicate if there's no results --- youtube/templates/channel.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'youtube') 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' %} -

Page {{ page_number }}

+ {% if items %} +

Page {{ page_number }}

+ {% else %} +

No results

+ {% endif %} {% else %} {% set sorts = [] %} {% endif %} -- cgit v1.2.3