{% set data = admin.data('config/scheduler') %}
{% set cron_status = grav.scheduler.isCrontabSetup() %}
{% set user = grav.scheduler.whoami() %}
{% if cron_status == 1 %}
{{ "PLUGIN_ADMIN.SCHEDULER_INSTALL_INSTRUCTIONS"|t }}
{{ "PLUGIN_ADMIN.SCHEDULER_INSTALLED_READY"|t }}
{% elseif cron_status == 2 %}
{{ "PLUGIN_ADMIN.SCHEDULER_CRON_NA"|t([user])|raw }}
{% else %}
{{ "PLUGIN_ADMIN.SCHEDULER_NOT_ENABLED"|t([user])|raw }}
{% endif %}
{{ "PLUGIN_ADMIN.SCHEDULER_WARNING"|t([user]) }}
{% include 'partials/blueprints.html.twig' with { blueprints: data.blueprints, data: data } %}
{% include 'partials/modal-changes-detected.html.twig' %}