From de33ee6bb87aeff4bdc01a995c24515894a6a3a8 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 12 Aug 2019 15:09:28 -0700 Subject: When restricting subscriptions to a tag, make that tag unclickable and add link to unrestrict --- youtube/subscriptions.py | 1 + youtube/templates/subscriptions.html | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'youtube') diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py index 5a957ac..64a72f4 100644 --- a/youtube/subscriptions.py +++ b/youtube/subscriptions.py @@ -535,6 +535,7 @@ def get_subscriptions_page(): num_pages = math.ceil(number_of_videos_in_db/60), parameters_dictionary = request.args, tags = tags, + current_tag = tag, subscription_list = subscription_list, ) diff --git a/youtube/templates/subscriptions.html b/youtube/templates/subscriptions.html index b4b87f0..62ed681 100644 --- a/youtube/templates/subscriptions.html +++ b/youtube/templates/subscriptions.html @@ -71,9 +71,19 @@