1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

Merge branch 'development' into radarr

This commit is contained in:
morpheus65535 2018-04-24 20:50:15 -04:00
commit 9b96ec0f99

View file

@ -124,7 +124,17 @@
<div id="fondblanc" class="ui container">
%missing_subs = len([i for i in season if i[6] != "[]"])
%total_subs = len(season)
<h1 class="ui header">Season {{season[0][2]}}<div class="ui tiny {{!'green' if missing_subs == 0 else 'yellow'}} circular label">{{!total_subs - missing_subs}} / {{total_subs}}</div></h1>
%subs_label = ''
%if subs_languages is not None:
% subs_label = '<div class="ui tiny '
% if missing_subs == 0:
% subs_label = subs_label + 'green'
% else:
% subs_label = subs_label + 'yellow'
% end
% subs_label = subs_label + ' circular label">' + str(total_subs - missing_subs) + ' / ' + str(total_subs) + '</div>'
%end
<h1 class="ui header">Season {{season[0][2]}}{{!subs_label}}</h1>
<div class="ui accordion">
<div class="title">
<div class="ui one column stackable center aligned page grid">