diff options
Diffstat (limited to 'youtube/templates/common_elements.html')
-rw-r--r-- | youtube/templates/common_elements.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <img class="thumbnail-img" src="{{ info['thumbnail'] }}"> {% if info['type'] != 'channel' %} <div class="thumbnail-info"> - <span>{{ (info['video_count']|string + ' videos') if info['type'] == 'playlist' else info['duration'] }}</span> + <span>{{ (info['video_count']|commatize + ' videos') if info['type'] == 'playlist' else info['duration'] }}</span> </div> {% endif %} </a> @@ -41,7 +41,7 @@ <ul class="stats {{'horizontal-stats' if horizontal else 'vertical-stats'}}"> {% if info['type'] == 'channel' %} <li><span>{{ info['approx_subscriber_count'] }} subscribers</span></li> - <li><span>{{ info['video_count'] }} videos</span></li> + <li><span>{{ info['video_count']|commatize }} videos</span></li> {% else %} {% if info.get('approx_view_count') %} <li><span class="views">{{ info['approx_view_count'] }} views</span></li> |