From 05a7edbbfbfe38234995e9888216b71cd8084dae Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Tue, 24 Apr 2018 20:48:23 -0400 Subject: [PATCH] Series progress fine-tuning --- views/episodes.tpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/views/episodes.tpl b/views/episodes.tpl index 3633ef236..029a65bb2 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -124,7 +124,17 @@
%missing_subs = len([i for i in season if i[6] != "[]"]) %total_subs = len(season) -

Season {{season[0][2]}}
{{!total_subs - missing_subs}} / {{total_subs}}

+ %subs_label = '' + %if subs_languages is not None: + % subs_label = '
' + str(total_subs - missing_subs) + ' / ' + str(total_subs) + '
' + %end +

Season {{season[0][2]}}{{!subs_label}}