Merge pull request #2371 from mike-esokia/PHRAS-1712_memorize_truncate_choice

PHRAS-1712 Porting PHRAS-1542 to 4.1
This commit is contained in:
Nicolas Maillat
2018-01-08 12:00:12 +01:00
committed by GitHub

View File

@@ -288,6 +288,11 @@
<table style="width:100%; table-layout:fixed;">
<tr>
<td style="width:50%; vertical-align:top;">
{% set useTruncation = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'use_truncation') %}
<label class="checkbox inline" for="ADVSRCH_USE_TRUNCATION">
<input id="ADVSRCH_USE_TRUNCATION" type="checkbox" class="checkbox preferences-options-use-truncation" name="truncation" {% if useTruncation == '1' or useTruncation == NULL %}checked="checked"{% endif %}>
{{ 'index:advanced-preferences:: use truncation' | trans }}
</label>
<div id="ADVSRCH_SBAS_ZONE" class="sbasglob">
<div class="btn-toolbar">
<input class="btn btn-inverse toggle-database" type="button"