From a5c0fe1d3c76be3cadae56e0a933bdbfefc79d17 Mon Sep 17 00:00:00 2001 From: echel0n Date: Fri, 14 Nov 2014 16:52:16 -0800 Subject: [PATCH] Existing shows no longer display when adding new trending shows. --- gui/slick/interfaces/default/home_trendingShows.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gui/slick/interfaces/default/home_trendingShows.tmpl b/gui/slick/interfaces/default/home_trendingShows.tmpl index 268f4c7a..ab0c02a9 100644 --- a/gui/slick/interfaces/default/home_trendingShows.tmpl +++ b/gui/slick/interfaces/default/home_trendingShows.tmpl @@ -130,6 +130,7 @@ #else #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) @@ -148,16 +149,13 @@ $cur_show['ratings']['votes'] votes
-#if 'ExistsInLibrary' in $cur_show['tvdb_id']: -

In library

-#else Add Show -#end if
+#end if #end for #end if