mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user