{{ t('task_edit.title') }} {{ task.name }}

{{ t('task_edit.type_label') }} {{ task.type }} {% if task.type not in ('daemon', 'plugin', 'relay') %}
{{ t('tasks.dialog.schedule') }}
{{ t('tasks.dialog.minutes') }}
{% endif %}
{% set cfg = task.config %} {% if task.type == 'daemon' %} {{ t('task_fields.daemon_legend') }}
{% elif task.type == 'relay' %} {{ t('task_fields.relay_legend') }} {% elif task.type == 'script' %} {{ t('task_fields.script_legend') }} {% elif task.type == 'plugin' %} {{ t('task_fields.plugin_legend') }} {% if plugin_settings %} {% with settings = plugin_settings, values = cfg %}{% include "_plugin_settings_fields.html" %}{% endwith %} {% endif %} {% elif task.type == 'urlwatch' %} {{ t('task_fields.urlwatch_legend') }}
{% endif %}