Fix restore table row colours on the Manage/Episode Status Management page.

This commit is contained in:
JackDandy 2015-04-21 11:18:55 +01:00
parent edcea76060
commit 3e4e511671
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@
* Add ToTV provider
* Fix Backlog scheduler initialization and change backlog frequency from minutes to days
* Change to consolidate and tidy some provider code
* Fix restore table row colours on the Manage/Episode Status Management page
### 0.8.2 (2015-04-19 06:45:00 UTC)

View file

@ -87,6 +87,7 @@
<table class="sickbeardTable manageTable" cellspacing="1" border="0" cellpadding="0">
<thead></thead>
<tbody>
#set $row = 0
#for $cur_indexer_id in $sorted_show_ids:
#if 0 == int($never_counts[$cur_indexer_id])
#set $output = '%d' % $ep_counts[$cur_indexer_id]
@ -96,7 +97,7 @@
#else
#set $output = '%s never with an airdate' % (('all %s %ss', '%s %s')[1 == $ep_counts[$cur_indexer_id]] % ($ep_counts[$cur_indexer_id], 'episode'))
#end if
<tr id="$cur_indexer_id" class="header">
<tr id="$cur_indexer_id" class="#echo ('odd', 'even')[$row % 2]##set $row+=1#">
<td><input type="checkbox" class="allCheck" id="allCheck-$cur_indexer_id" name="$cur_indexer_id-all"></td>
<td colspan="2" style="width:100%;text-align:left">
<a class="whitelink" href="$sbRoot/home/displayShow?show=$cur_indexer_id">$show_names[$cur_indexer_id]</a> <span style="color:#999">($output)</span><input type="button" class="pull-right get_more_eps btn" id="$cur_indexer_id-more" value="Expand"><input type="button" class="pull-right get_less_eps btn" id="$cur_indexer_id-less" value="Collapse">