From 776ce99b0b6a6e0bcfc5004e0edce13917c213a8 Mon Sep 17 00:00:00 2001 From: girst Date: Tue, 4 Aug 2020 19:07:40 +0200 Subject: [PATCH] don't show 'None' if not video age --- app/dangerous/templates/search.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dangerous/templates/search.html.j2 b/app/dangerous/templates/search.html.j2 index 33660d9..985be56 100644 --- a/app/dangerous/templates/search.html.j2 +++ b/app/dangerous/templates/search.html.j2 @@ -41,7 +41,7 @@ {% if card.type == 'VIDEO' %} {% call macros.card(c.video_id, c.title, c.length) %} {{ macros.infobar_subscriptions(c.video_id, c.channel_id, c.author) }} - {{ c.published }}  + {{ c.published if c.published }}  {% endcall %} {% elif card.type == 'CHANNEL' and c.channel_id != channel_id %} {% call macros.card_generic("/channel/"~c.channel_id, c.icons[c.icons.largest] if 'icons' in c else '', c.title) %} -- 2.39.3