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

Loading…
Cancel
Save