From dc6729305202140ecbe6eebdc0b2a6514d28f658 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 15 Mar 2022 17:45:43 +0700 Subject: [PATCH] add fallback channel overwrite fallback to frontend --- tubearchivist/home/templates/home/channel_id.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tubearchivist/home/templates/home/channel_id.html b/tubearchivist/home/templates/home/channel_id.html index 00fdfa4..aaa7e03 100644 --- a/tubearchivist/home/templates/home/channel_id.html +++ b/tubearchivist/home/templates/home/channel_id.html @@ -61,9 +61,19 @@
{% csrf_token %} -

Download format

+

Download format: + {% if channel_info.channel_overwrites.download_format %} + {{ channel_info.channel_overwrites.download_format }} + {% else %} + False + {% endif %}

{{ channel_overwrite_form.download_format }}
-

Auto delete videos after x days

+

Auto delete videos after x days: + {% if channel_info.channel_overwrites.autodelete_days %} + {{ channel_info.channel_overwrites.autodelete_days }} + {% else %} + False + {% endif %}

{{ channel_overwrite_form.autodelete_days }}