New: Light green background color in Season Pass for seasons with all episodes downloaded.

pull/2/head
Taloth Saldono 9 years ago
parent 5f66c15b91
commit 99aa25bf83

@ -1,6 +1,14 @@
{{#each seasons}}
{{debug}}
<span class="season">
{{#if_eq statistics.totalEpisodeCount compare=0}}
<span class="season season-unaired">
{{else}}
{{#if_eq statistics.percentOfEpisodes compare=100}}
<span class="season season-all">
{{else}}
<span class="season season-partial">
{{/if_eq}}
{{/if_eq}}
<span class="label">
<span class="x-season-monitored season-monitored" title="Toggle season monitored status" data-season-number="{{seasonNumber}}">
<i class="x-season-monitored-icon {{#if monitored}}icon-sonarr-monitored{{else}}icon-sonarr-unmonitored{{/if}}"/>

@ -30,6 +30,10 @@
color : #999;
background-color : #f7f7f7;
}
&.season-all .label:last-child {
background-color : #e0ffe0;
}
.season-monitored {
width : 16px;

Loading…
Cancel
Save