{% macro scheduleIntervalsInfoItem(label, date) %} {% if date is not null %} {{ label|trans({'%date%': date|oro_format_datetime})|oro_html_sanitize }} {% else %} {{ label|trans }} {% endif %} {% endmacro %} {% macro scheduleIntervalsInfo(schedules, labels) %} {% import _self as scheduleUI %} {% set defaultLabels = { wasActivated: 'oro.cron.schedule_interval.was_activated', activeNow: 'oro.cron.schedule_interval.active_now', notActiveNow: 'oro.cron.schedule_interval.not_active_now', willBeActivated: 'oro.cron.schedule_interval.will_be_acitivated', wasDeactivated: 'oro.cron.schedule_interval.was_deactivated', willBeDeactivated: 'oro.cron.schedule_interval.will_be_deacitivated' } %} {% set labels = defaultLabels|merge(labels) %} {% set now = date('now', 'UTC') %} {% endmacro %}