mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for bug in comingEpisodes template not properly displaying
This commit is contained in:
parent
7194c3e197
commit
3534574741
@ -120,6 +120,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
#for $cur_result in $sql_results:
|
#for $cur_result in $sql_results:
|
||||||
|
#set $cur_indexer = int($cur_result["indexer"])
|
||||||
|
|
||||||
#if int($cur_result["paused"]) and not $sickbeard.COMING_EPS_DISPLAY_PAUSED:
|
#if int($cur_result["paused"]) and not $sickbeard.COMING_EPS_DISPLAY_PAUSED:
|
||||||
#continue
|
#continue
|
||||||
@ -167,7 +168,12 @@
|
|||||||
<a href="http://www.imdb.com/title/${cur_result["imdb_id"]}" onclick="window.open(this.href, '_blank'); return false;" title="http://www.imdb.com/title/${cur_result["imdb_id"]}"><img alt="[imdb]" height="16" width="16" src="$sbRoot/images/imdb.png" />
|
<a href="http://www.imdb.com/title/${cur_result["imdb_id"]}" onclick="window.open(this.href, '_blank'); return false;" title="http://www.imdb.com/title/${cur_result["imdb_id"]}"><img alt="[imdb]" height="16" width="16" src="$sbRoot/images/imdb.png" />
|
||||||
#end if
|
#end if
|
||||||
</td>
|
</td>
|
||||||
<td align="center"><a href="$sickbeard.indexerApi($cur_result["indexer"]).config["show_url"]${cur_result["showid"]}" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;" title="$sickbeard.indexerApi($cur_result["indexer"]).config["show_url"]${cur_result["showid"]}"><img alt="["'+$sickbeard.indexerApi($cur_result["indexer"]).name+'"]" height="16" width="16" src="$sbRoot/images/$sickbeard.indexerApi($cur_result["indexer"]).config["icon"]" /></a></td>
|
<td align="center"><a href="$sickbeard.indexerApi($cur_indexer).config["show_url"]${cur_result["showid"]}"
|
||||||
|
rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href,
|
||||||
|
'_blank'); return false;" title="$sickbeard.indexerApi($cur_indexer)
|
||||||
|
.config["show_url"]${cur_result["showid"]}"><img alt="$sickbeard.indexerApi($cur_indexer)
|
||||||
|
.name" height="16" width="16" src="$sbRoot/images/$sickbeard.indexerApi($cur_indexer).config["icon"]"
|
||||||
|
/></a></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="$sbRoot/home/searchEpisode?show=${cur_result["showid"]}&season=$cur_result["season"]&episode=$cur_result["episode"]" title="Manual Search" id="forceUpdate-${cur_result["showid"]}" class="forceUpdate epSearch"><img alt="[search]" height="16" width="16" src="$sbRoot/images/search32.png" id="forceUpdateImage-${cur_result["showid"]}" /></a>
|
<a href="$sbRoot/home/searchEpisode?show=${cur_result["showid"]}&season=$cur_result["season"]&episode=$cur_result["episode"]" title="Manual Search" id="forceUpdate-${cur_result["showid"]}" class="forceUpdate epSearch"><img alt="[search]" height="16" width="16" src="$sbRoot/images/search32.png" id="forceUpdateImage-${cur_result["showid"]}" /></a>
|
||||||
</td>
|
</td>
|
||||||
@ -206,6 +212,8 @@
|
|||||||
#end if
|
#end if
|
||||||
|
|
||||||
#for $cur_result in $sql_results:
|
#for $cur_result in $sql_results:
|
||||||
|
#set $cur_indexer = int($cur_result["indexer"])
|
||||||
|
|
||||||
<!-- start $cur_result["show_name"] //-->
|
<!-- start $cur_result["show_name"] //-->
|
||||||
|
|
||||||
#if int($cur_result["paused"]) and not $sickbeard.COMING_EPS_DISPLAY_PAUSED:
|
#if int($cur_result["paused"]) and not $sickbeard.COMING_EPS_DISPLAY_PAUSED:
|
||||||
@ -303,7 +311,12 @@
|
|||||||
#if $cur_result["imdb_id"]:
|
#if $cur_result["imdb_id"]:
|
||||||
<a href="http://www.imdb.com/title/${cur_result["imdb_id"]}" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;" title="http://www.imdb.com/title/${cur_result["imdb_id"]}"><img alt="[imdb]" height="16" width="16" src="$sbRoot/images/imdb.png" />
|
<a href="http://www.imdb.com/title/${cur_result["imdb_id"]}" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;" title="http://www.imdb.com/title/${cur_result["imdb_id"]}"><img alt="[imdb]" height="16" width="16" src="$sbRoot/images/imdb.png" />
|
||||||
#end if
|
#end if
|
||||||
<a href="$sickbeard.indexerApi($cur_result["indexer"]).config["show_url"]${cur_result["showid"]}" rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href, '_blank'); return false;" title="$sickbeard.indexerApi($cur_result["indexer"]).config["show_url"]${cur_result["showid"]}"><img alt="$sickbeard.indexerApi($cur_result["indexer"]).name" height="16" width="16" src="$sbRoot/images/$sickbeard.indexerApi($cur_result["indexer"]).config["icon"]" /></a>
|
<a href="$sickbeard.indexerApi($cur_indexer).config["show_url"]${cur_result["showid"]}"
|
||||||
|
rel="noreferrer" onclick="window.open('${sickbeard.ANON_REDIRECT}' + this.href,
|
||||||
|
'_blank'); return false;" title="$sickbeard.indexerApi($cur_indexer)
|
||||||
|
.config["show_url"]${cur_result["showid"]}"><img alt="$sickbeard.indexerApi($cur_indexer).name"
|
||||||
|
height="16" width="16" src="$sbRoot/images/$sickbeard.indexerApi($cur_indexer).config["icon"]"
|
||||||
|
/></a>
|
||||||
<span><a href="$sbRoot/home/searchEpisode?show=${cur_result["showid"]}&season=$cur_result["season"]&episode=$cur_result["episode"]" title="Manual Search" id="forceUpdate-${cur_result["showid"]}" class="epSearch forceUpdate"><img alt="[search]" height="16" width="16" src="$sbRoot/images/search32.png" id="forceUpdateImage-${cur_result["showid"]}" /></a></span>
|
<span><a href="$sbRoot/home/searchEpisode?show=${cur_result["showid"]}&season=$cur_result["season"]&episode=$cur_result["episode"]" title="Manual Search" id="forceUpdate-${cur_result["showid"]}" class="epSearch forceUpdate"><img alt="[search]" height="16" width="16" src="$sbRoot/images/search32.png" id="forceUpdateImage-${cur_result["showid"]}" /></a></span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -292,7 +292,7 @@ class TVCache():
|
|||||||
except (MultipleShowObjectsException):
|
except (MultipleShowObjectsException):
|
||||||
showObj = None
|
showObj = None
|
||||||
if showObj:
|
if showObj:
|
||||||
self.indexer = showObj.indexer
|
self.indexer = int(showObj.indexer)
|
||||||
indexer_lang = showObj.lang
|
indexer_lang = showObj.lang
|
||||||
|
|
||||||
# if we weren't provided with season/episode information then get it from the name that we parsed
|
# if we weren't provided with season/episode information then get it from the name that we parsed
|
||||||
|
Loading…
Reference in New Issue
Block a user