mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-06 03:18:01 -05:00
Existing shows no longer display when adding new trending shows.
This commit is contained in:
parent
1c46813e89
commit
a5c0fe1d3c
@ -130,6 +130,7 @@
|
|||||||
</div>
|
</div>
|
||||||
#else
|
#else
|
||||||
#for $cur_show in $trending_shows:
|
#for $cur_show in $trending_shows:
|
||||||
|
#if not 'ExistsInLibrary' in $cur_show['tvdb_id']:
|
||||||
|
|
||||||
#set $image = re.sub(r'(?im)(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0)
|
#set $image = re.sub(r'(?im)(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0)
|
||||||
|
|
||||||
@ -148,16 +149,13 @@
|
|||||||
<i>$cur_show['ratings']['votes'] votes</i>
|
<i>$cur_show['ratings']['votes'] votes</i>
|
||||||
|
|
||||||
<div class="traktShowTitleIcons">
|
<div class="traktShowTitleIcons">
|
||||||
#if 'ExistsInLibrary' in $cur_show['tvdb_id']:
|
|
||||||
<p style="line-height: 1.5; padding: 2px 5px 3px">In library</p>
|
|
||||||
#else
|
|
||||||
<a href="$sbRoot/home/addTraktShow?indexer_id=${cur_show['tvdb_id']}&showName=${cur_show['title']}" class="btn btn-xs">Add Show</a>
|
<a href="$sbRoot/home/addTraktShow?indexer_id=${cur_show['tvdb_id']}&showName=${cur_show['title']}" class="btn btn-xs">Add Show</a>
|
||||||
#end if
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
#end if
|
||||||
#end for
|
#end for
|
||||||
#end if
|
#end if
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user