[fix] preferences options aren't consistent
Closes: https://github.com/searxng/searxng/issues/1440 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3ff576ea72
commit
a9ae0efd22
@ -217,8 +217,8 @@
|
|||||||
<legend id="pref_center_alignment">{{ _('Center Alignment') }}</legend>
|
<legend id="pref_center_alignment">{{ _('Center Alignment') }}</legend>
|
||||||
<p class="value">
|
<p class="value">
|
||||||
<select name="center_alignment" aria-labelledby="pref_center_alignment">
|
<select name="center_alignment" aria-labelledby="pref_center_alignment">
|
||||||
<option value="1" {% if preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
|
<option value="1" {% if preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||||
<option value="0" {% if not preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
|
<option value="0" {% if not preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Disabled')}}</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<div class="description">{{ _('Displays results in the center of the page (Oscar layout).') }}</div>
|
<div class="description">{{ _('Displays results in the center of the page (Oscar layout).') }}</div>
|
||||||
@ -229,8 +229,8 @@
|
|||||||
<legend id="pref_results_on_new_tab">{{ _('Results on new tabs') }}</legend>
|
<legend id="pref_results_on_new_tab">{{ _('Results on new tabs') }}</legend>
|
||||||
<p class="value">
|
<p class="value">
|
||||||
<select name='results_on_new_tab' aria-labelledby="pref_results_on_new_tab">
|
<select name='results_on_new_tab' aria-labelledby="pref_results_on_new_tab">
|
||||||
<option value="1" {% if results_on_new_tab %}selected="selected"{% endif %}>{{ _('On') }}</option>
|
<option value="1" {% if results_on_new_tab %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||||
<option value="0" {% if not results_on_new_tab %}selected="selected"{% endif %}>{{ _('Off')}}</option>
|
<option value="0" {% if not results_on_new_tab %}selected="selected"{% endif %}>{{ _('Disabled')}}</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<div class="description">{{_('Open result links on new browser tabs') }}</div>
|
<div class="description">{{_('Open result links on new browser tabs') }}</div>
|
||||||
@ -241,8 +241,8 @@
|
|||||||
<legend>{{ _('Infinite scroll') }}</legend>
|
<legend>{{ _('Infinite scroll') }}</legend>
|
||||||
<p class="value">
|
<p class="value">
|
||||||
<select name='infinite_scroll'>
|
<select name='infinite_scroll'>
|
||||||
<option value="1" {% if infinite_scroll %}selected="selected"{% endif %}>{{ _('On') }}</option>
|
<option value="1" {% if infinite_scroll %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
|
||||||
<option value="0" {% if not infinite_scroll %}selected="selected"{% endif %}>{{ _('Off')}}</option>
|
<option value="0" {% if not infinite_scroll %}selected="selected"{% endif %}>{{ _('Disabled')}}</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<div class="description">{{ _('Automatically load next page when scrolling to bottom of current page') }}</div>
|
<div class="description">{{ _('Automatically load next page when scrolling to bottom of current page') }}</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user