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

pull/4/head
Mark McDowall 11 years ago
parent 1a2ae4bd2c
commit c5ae38638a

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

@ -9,7 +9,11 @@
{{/if}} {{/if}}
{{#if_eq episodeCount compare=0}} {{#if_eq episodeCount compare=0}}
{{#if monitored}}
<i class="icon-nd-status season-status status-primary" title="No aired episodes"/> <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}} {{else}}
{{#if_eq percentOfEpisodes compare=100}} {{#if_eq percentOfEpisodes compare=100}}
<i class="icon-nd-status season-status status-success" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/> <i class="icon-nd-status season-status status-success" title="{{episodeFileCount}}/{{episodeCount}} episodes downloaded"/>

Loading…
Cancel
Save