1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Show yellow dot and season not monitored when no episode files and season isn't monitored

This commit is contained in:
Mark McDowall 2013-09-23 13:06:15 -07:00
parent 1a2ae4bd2c
commit c5ae38638a
2 changed files with 14 additions and 6 deletions

View File

@ -162,6 +162,10 @@ footer {
color : @successText;
}
.status-warning {
color : @warningText;
}
.status-danger {
color : @errorText;
}

View File

@ -9,13 +9,17 @@
{{/if}}
{{#if_eq episodeCount compare=0}}
<i class="icon-nd-status season-status status-primary" title="No aired episodes"/>
{{#if monitored}}
<i class="icon-nd-status season-status status-primary" title="No aired episodes"/>
{{else}}
<i class="icon-nd-status season-status status-warning" title="Season is not monitored"/>
{{/if}}
{{else}}
{{#if_eq percentOfEpisodes compare=100}}
<i class="icon-nd-status season-status status-success" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{else}}
<i class="icon-nd-status season-status status-danger" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{/if_eq}}
{{#if_eq percentOfEpisodes compare=100}}
<i class="icon-nd-status season-status status-success" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{else}}
<i class="icon-nd-status season-status status-danger" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>
{{/if_eq}}
{{/if_eq}}
<span class="season-actions pull-right">