mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
N°5741 - remove use of get_config_parameter and get_module_setting in Twig # Conflicts: # application/twigextension.class.inc.php # datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php # sources/application/TwigBase/Twig/Extension.php
12 lines
880 B
Twig
12 lines
880 B
Twig
$('#{{ oUIBlock.GetId() }}').activity_panel({
|
|
datetime_format: {{ oUIBlock.GetDateTimeFormatForJSWidget()|json_encode|raw }},
|
|
datetimes_reformat_limit: {{ oUIBlock.GetDatetimesReformatLimit() }},
|
|
{% if oUIBlock.HasTransactionId() %}transaction_id: {{ oUIBlock.GetTransactionId()|var_export }},{% endif %}
|
|
lock_enabled: {{ oUIBlock.IsLockEnabled()|var_export }},
|
|
lock_watcher_period: {{ oUIBlock.GetLockWatcherPeriod() }},
|
|
lock_endpoint: {{ oUIBlock.GetLockEndpoint()|var_export|raw }},
|
|
show_multiple_entries_submit_confirmation: {{ oUIBlock.GetShowMultipleEntriesSubmitConfirmation()|var_export }},
|
|
save_state_endpoint: {{ oUIBlock.GetSaveStateEndpoint()|var_export|raw }},
|
|
last_loaded_entries_ids: {{ oUIBlock.GetLastEntryIds()|json_encode|raw }},
|
|
load_more_entries_endpoint: {{ oUIBlock.GetLoadMoreEntriesEndpoint()|var_export|raw }},
|
|
}); |