From a2c7ad2bbefb7021c22cdcd52486ebf9565ba336 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 6 Nov 2022 13:25:01 +0100 Subject: [PATCH] thumbnail view: show left time when video started --- server/templates/macros.htm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/templates/macros.htm b/server/templates/macros.htm index ae90552..572928f 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -416,7 +416,11 @@ {%- if element.started %} started {%- endif -%} "> - {{- element.length | timedelta -}} + {%- if element.started -%} + {{ element.left_length | timedelta }} ({{ element.length | timedelta }}) + {%- else -%} + {{- element.length | timedelta -}} + {%- endif -%}