When restricting subscriptions to a tag, make that tag unclickable and add link to unrestrict
This commit is contained in:
parent
dd4841901f
commit
de33ee6bb8
@ -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,
|
||||
)
|
||||
|
||||
|
@ -71,9 +71,19 @@
|
||||
|
||||
<hr>
|
||||
<ol class="sidebar-list tags">
|
||||
{% if current_tag %}
|
||||
<li class="sidebar-list-item">
|
||||
<a href="/youtube.com/subscriptions" class="sidebar-item-name">Any tag</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% for tag in tags %}
|
||||
<li class="sidebar-list-item">
|
||||
{% if tag == current_tag %}
|
||||
<span class="sidebar-item-name">{{ tag }}</span>
|
||||
{% else %}
|
||||
<a href="?tag={{ tag|urlencode }}" class="sidebar-item-name">{{ tag }}</a>
|
||||
{% endif %}
|
||||
<form method="POST" class="sidebar-item-refresh">
|
||||
<input type="submit" value="Check">
|
||||
<input type="hidden" name="action" value="refresh">
|
||||
|
Loading…
x
Reference in New Issue
Block a user