From 407325e0a9c1ba24fce83911e047ffa3c57e19bb Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 25 Nov 2021 11:32:51 +0700 Subject: [PATCH] add original youtube link if available, #81 --- tubearchivist/home/templates/home/channel_id.html | 6 +++++- tubearchivist/home/templates/home/playlist_id.html | 5 +++++ tubearchivist/home/templates/home/video.html | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tubearchivist/home/templates/home/channel_id.html b/tubearchivist/home/templates/home/channel_id.html index cd3efa7..74b3092 100644 --- a/tubearchivist/home/templates/home/channel_id.html +++ b/tubearchivist/home/templates/home/channel_id.html @@ -31,7 +31,11 @@ false {% endif %}

-

Channel id: {{ channel_info.channel_id }}

+ {% if channel_info.channel_active %} +

Youtube: Active

+ {% else %} +

Youtube: Deactivated

+ {% endif %}
Delete {{ channel_info.channel_name }} including all videos? diff --git a/tubearchivist/home/templates/home/playlist_id.html b/tubearchivist/home/templates/home/playlist_id.html index 59d2629..115f302 100644 --- a/tubearchivist/home/templates/home/playlist_id.html +++ b/tubearchivist/home/templates/home/playlist_id.html @@ -31,6 +31,11 @@ false {% endif %}

+ {% if playlist_info.playlist_active %} +

Youtube: Active

+ {% else %} +

Youtube: Deactivated

+ {% endif %}
Delete {{ playlist_info.playlist_name }}? diff --git a/tubearchivist/home/templates/home/video.html b/tubearchivist/home/templates/home/video.html index 884c1b6..60a4726 100644 --- a/tubearchivist/home/templates/home/video.html +++ b/tubearchivist/home/templates/home/video.html @@ -38,11 +38,10 @@ {% endif %}

{% if video.active %} -

Youtube: Active

+

Youtube: Active

{% else %}

Youtube: Deactivated

{% endif %} -

Video ID: {{ video.youtube_id }}

Are you sure?