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

This commit is contained in:
Taloth Saldono 2016-03-22 23:08:57 +01:00
parent 5f66c15b91
commit 99aa25bf83
2 changed files with 13 additions and 1 deletions

View File

@ -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}}"/>

View File

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