pull/115/merge
Louis Vézina 7 years ago
parent 68880cbacb
commit 43d54823e3

@ -257,6 +257,13 @@ def edit_series(no):
else:
lang = 'None'
single_language = get_general_settings()[7]
if single_language == 'True':
if str(lang) == "['None']":
lang = 'None'
else:
lang = str(lang)
else:
if str(lang) == "['']":
lang = '[]'

@ -241,6 +241,9 @@
<div class="nine wide column">
<select name="languages" id="series_languages" {{!'multiple="" ' if single_language == 'False' else ''}} class="ui fluid selection dropdown">
<option value="">Languages</option>
%if single_language == 'True':
<option value="None">None</option>
%end
%for language in languages:
<option value="{{language[0]}}">{{language[1]}}</option>
%end

Loading…
Cancel
Save