{# @copyright Copyright (C) 2010-2022 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} {% UITitle ForPage {sTitle:'Anonymization:Configuration'|dict_s} %}{% EndUITitle %} {% if sMessage is not empty %} {% if sMessageType is empty %} {% set sMessageType = 'error' %} {% endif %} {% if sMessageType == 'error' %} {% UIAlert ForDanger {sTitle:'', sContent:sMessage, sId:'save_result'} %}{% EndUIAlert %} {% endif %} {% if sMessageType == 'ok' %} {% UIAlert ForSuccess {sTitle:'', sContent:sMessage, sId:'save_result'} %}{% EndUIAlert %} {% endif %} {% endif %} {% UIForm Standard {} %} {% UIInput ForHidden {sName:'operation', sValue:'ApplyConfig'} %} {% UIInput ForHidden {sName:'transaction_id', sValue:sTransactionId} %} {% UIFieldSet Standard {sLegend:'Anonymization:AutomationParameters'|dict_s} %} {% if bAnonymizeObsoletePersons and iAnonymizationDelay >= 0 %} {% set sDelay = iAnonymizationDelay %} {% else %} {% set sDelay = '' %} {% endif %} {% set sDelayInput = 'Anonymization:AnonymizationDelay_Input'|dict_format('') %} {% if bAnonymizeObsoletePersons and iAnonymizationDelay >= 0 %} {% set bChecked = '1' %} {% else %} {% set bChecked = '0' %} {% endif %}
= 0 %} checked {% endif %}id="checkbox_anonymize" name=""/>
{% EndUIFieldSet %} {% UIFieldSet Standard {sLegend:'Anonymization:Configuration:TimeRange'|dict_s} %} {% for aData in aConfigBackground %} {% UIField Small {sLabel:aData.name} %} {% EndUIField %} {% endfor %} {% UIField Small {sLabel:'Anonymization:Configuration:Weekdays'|dict_s} %} {% EndUIField %}
{% for aWeekDay in aWeekDays %} {{ aWeekDay.label }}  {% endfor %}
{% EndUIFieldSet %} {% UIToolbar ForButton {} %} {% UIButton ForSecondaryAction {sLabel:'UI:Button:Cancel'|dict_s, sName:'btn_cancel', sId:'btn_cancel', bIsSubmit:false} %} {% UIButton ForPrimaryAction {sLabel:'UI:Button:Apply'|dict_s, sName:'btn_apply', sId:'btn_apply', bIsSubmit:true} %} {% EndUIToolbar %} {% EndUIForm %}