{% extends ../base.html %} {% block meta %} {% end %} {% block title %}Crafty Controller - {{ translate('serverDetails', 'serverDetails', data['lang']) }}{% end %} {% block content %}
{% include "parts/details_stats.html" %}
{% include "parts/server_controls_list.html" %} {% include "parts/m_server_controls_list.html" %}

{{ translate('serverSchedules', 'scheduledTasks', data['lang']) }}

{% if data['user_data']['hints'] %} {% end %}
{% if len(data['schedules']) == 0 %}
{{ translate('serverSchedules', 'no-schedule', data['lang']) }} {{ translate('serverSchedules', 'newSchedule',data['lang']) }}.
{% end %} {% if len(data['schedules']) > 0 %}
{% for schedule in data['schedules'] %} {% end %}
{{ translate('serverSchedules', 'enabled', data['lang']) }} {{ translate('serverSchedules', 'name', data['lang']) }} {{ translate('serverSchedules', 'action', data['lang']) }} {{ translate('serverSchedules', 'command', data['lang']) }} {{ translate('serverSchedules', 'interval', data['lang']) }} {{ translate('serverSchedules', 'nextRun', data['lang']) }} {{ translate('serverSchedules', 'edit', data['lang']) }}

{{schedule.name}}

{{schedule.action}}

{{schedule.command}}

{% if schedule.interval_type != '' and schedule.interval_type != 'reaction' %}

{{ translate('serverSchedules', 'every', data['lang']) }}

{{schedule.interval}} {{schedule.interval_type}}

{% elif schedule.interval_type == 'reaction' %}

{{schedule.interval_type}}

{{ translate('serverSchedules', 'child', data['lang'])}}: {{ schedule.parent }}

{% else %}

Cron String:

{{schedule.cron_string}}

{% end %}

{{schedule.next_run}}


{% for schedule in data['schedules'] %} {% end %}
{{ translate('serverSchedules', 'action', data['lang']) }} {{ translate('serverSchedules', 'command', data['lang']) }} {{ translate('serverSchedules', 'enabled', data['lang']) }}

{{schedule.action}}

{{schedule.command}}

{% end %}
{% end %} {% block js %} {% end %}