|
|
@ -471,15 +471,16 @@ |
|
|
|
<button type="button" class="btn btn-default pull-right allseasons"><span class="onshow">Show all</span><span class="onhide">Hide most</span><i class="icon-glyph"></i></button> |
|
|
|
<span class="images pull-right hide"><i class="spinner"></i></span> |
|
|
|
#end if |
|
|
|
#set $videos = '0' if $season not in $ep_counts['videos'] else $ep_counts['videos'][$season] |
|
|
|
#set $videos = $ep_counts['videos'].get($season, '0') |
|
|
|
#set $season_stats = $ep_counts['status'].get($season, {}) |
|
|
|
#set $snatched = $season_stats.get($Overview.SNATCHED, None) |
|
|
|
#set $wanted = $season_stats.get($Overview.WANTED, None) |
|
|
|
#set $qual = $season_stats.get($Overview.QUAL, None) |
|
|
|
#set $good = $season_stats.get($Overview.GOOD, '0') |
|
|
|
#set $archived = False if $season not in $ep_counts['archived'] else $ep_counts['archived'][$season] |
|
|
|
<h3>$human_season<a id="season-$season" name="season-$season"></a> |
|
|
|
#if None is not $has_art |
|
|
|
<span class="season-status"><span class="good status-badge"> D: <strong>$videos</strong> </span>#if snatched#<span class="snatched status-badge"> S: <strong>$snatched</strong> </span>#end if##if $wanted#<span class="wanted status-badge"> W: <strong>$wanted</strong> </span>#end if##if $qual#<span class="qual status-badge"> LQ: <strong>$qual</strong> </span>#end if# of <span class="footerhighlight">$ep_counts['totals'][$season]</span><span class="archived-count">#echo ('', ' with <span class="footerhighlight">%s</span> archived' % $archived)[0 < $archived]#</span></span> |
|
|
|
<span class="season-status"><span class="good status-badge"> D: <strong>$good</strong> </span>#if snatched#<span class="snatched status-badge"> S: <strong>$snatched</strong> </span>#end if##if $wanted#<span class="wanted status-badge"> W: <strong>$wanted</strong> </span>#end if##if $qual#<span class="qual status-badge"> LQ: <strong>$qual</strong> </span>#end if# of <span class="footerhighlight">$ep_counts['totals'][$season]</span>#if 0 < $archived# with <span class="footerhighlight">$archived</span> archived#end if##if int($videos)# #echo ('with', 'and')[0 < $archived]# <span class="footerhighlight">$videos</span> file$maybe_plural($videos)#end if#</span> |
|
|
|
#end if |
|
|
|
</h3> |
|
|
|
</th> |
|
|
|