From f7a5f7fbaa519eeb340537fe920fbe7ded8b16f2 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 24 Dec 2019 13:18:46 -0800 Subject: items: commatize channel video count and playlist video count --- youtube/templates/common_elements.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube') diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html index 8ee0a3c..58580a3 100644 --- a/youtube/templates/common_elements.html +++ b/youtube/templates/common_elements.html @@ -24,7 +24,7 @@ {% if info['type'] != 'channel' %}
- {{ (info['video_count']|string + ' videos') if info['type'] == 'playlist' else info['duration'] }} + {{ (info['video_count']|commatize + ' videos') if info['type'] == 'playlist' else info['duration'] }}
{% endif %} @@ -41,7 +41,7 @@