1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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}} {{#each seasons}}
{{debug}} {{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="label">
<span class="x-season-monitored season-monitored" title="Toggle season monitored status" data-season-number="{{seasonNumber}}"> <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}}"/> <i class="x-season-monitored-icon {{#if monitored}}icon-sonarr-monitored{{else}}icon-sonarr-unmonitored{{/if}}"/>

View File

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