From e5e09b4c680715b33bdd38fe88efcade876098c6 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 29 Nov 2024 01:48:37 +0100 Subject: [PATCH] To files view, add VideoFile.present filter. --- src/templates/files.tmpl | 16 +++++++++++----- src/ytplom/misc.py | 17 +++++++++++------ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/templates/files.tmpl b/src/templates/files.tmpl index 72f99ac..0dda3db 100644 --- a/src/templates/files.tmpl +++ b/src/templates/files.tmpl @@ -4,12 +4,18 @@ {% block body %} {{ macros.nav_head(page_names, "files") }}
-filter: +filter: +show absent: +
-

downloaded videos ({{files|length}}):

-