|
|
|
@ -27,14 +27,14 @@
|
|
|
|
|
<label for="locale">{{_('Language')}}</label>
|
|
|
|
|
<select name="locale" id="locale" class="form-control">
|
|
|
|
|
{% for translation in translations %}
|
|
|
|
|
<option value="{{translation}}" {% if translation|string == content.locale %}selected{% endif %}>{{ translation.display_name }}</option>
|
|
|
|
|
<option value="{{translation.language}}" {% if translation.language == content.locale %}selected{% endif %} {% if new_user == 1 and loop.first %}selected{% endif %}>{{ translation.display_name }}</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="default_language">{{_('Show books with language')}}</label>
|
|
|
|
|
<select name="default_language" id="default_language" class="form-control">
|
|
|
|
|
<option value="all" >{{ _('Show all') }}</option>
|
|
|
|
|
<option value="all" {% if new_user == 1 %}selected{% endif %}>{{ _('Show all') }}</option>
|
|
|
|
|
{% for language in languages %}
|
|
|
|
|
<option value="{{ language.lang_code }}" {% if content.default_language == language.lang_code %}selected{% endif %}>{{ language.name }}</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|