diff options
Diffstat (limited to 'views/movie.tpl')
-rw-r--r-- | views/movie.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/movie.tpl b/views/movie.tpl index 1be4bbdea..f95c9f59a 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -66,7 +66,7 @@ <body> %import ast %from get_languages import * - %from get_general_settings import * + %from get_settings import * %single_language = get_general_settings()[7] <div style="display: none;"><img src="{{base_url}}image_proxy_movies{{details[3]}}"></div> <div id='loader' class="ui page dimmer"> @@ -92,7 +92,7 @@ <button id="config" class="ui button" data-tooltip="Edit movie" data-inverted="" data-tmdbid="{{details[5]}}" data-title="{{details[0]}}" data-poster="{{details[2]}}" data-audio="{{details[6]}}" data-languages="{{!subs_languages_list}}" data-hearing-impaired="{{details[4]}}"><i class="ui inverted large compact configure icon"></i></button> </div> <h2> - %if details[13] == "True": + %if details[13] is True: <span data-tooltip="Movie monitored in Radarr"><i class="bookmark icon"></i></span> %else: <span data-tooltip="Movie unmonitored in Radarr"><i class="bookmark outline icon"></i></span> @@ -201,7 +201,7 @@ <label>Subtitles languages</label> </div> <div class="nine wide column"> - <select name="languages" id="movie_languages" {{!'multiple="" ' if single_language == 'False' else ''}} class="ui fluid selection dropdown"> + <select name="languages" id="movie_languages" {{!'multiple="" ' if single_language is False else ''}} class="ui fluid selection dropdown"> <option value="">Languages</option> %for language in languages: <option value="{{language[0]}}">{{language[1]}}</option> |