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