From ab68581eda4c7315c90d243352e8adabc38a1e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 25 Aug 2019 23:34:35 -0400 Subject: [PATCH] Continuing development. --- views/episodes.tpl | 4 ++-- views/historyseries.tpl | 2 +- views/movie.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/views/episodes.tpl b/views/episodes.tpl index 9de53fc26..7c2cb4260 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -294,7 +294,7 @@ %if subs_languages is not None: - + %end @@ -684,7 +684,7 @@ var languages = Array.from({{!subs_languages_list}}); var is_pb = languages.includes('pb'); var is_pt = languages.includes('pt'); - var title = "{{!details[0].replace("'", "\'")}}"; + var title = "{{!details.title.replace("'", "\'")}}"; $('#language').dropdown(); diff --git a/views/historyseries.tpl b/views/historyseries.tpl index e5c87d84c..0380c25af 100644 --- a/views/historyseries.tpl +++ b/views/historyseries.tpl @@ -76,7 +76,7 @@
- %elif row[0] == 4: + %elif row.action == 4:
diff --git a/views/movie.tpl b/views/movie.tpl index 2b5fbbd4f..61ae00ce8 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -624,7 +624,7 @@ sceneName = $(this).attr("data-sceneName"); language = $(this).attr("data-language"); radarrId = $(this).attr("data-radarrId"); - var title = "{{!details[0].replace("'", "\'")}}"; + var title = "{{!details.title.replace("'", "\'")}}"; $('#language').dropdown();