{% 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"|tu }}
{{ "PLUGIN_ADMIN.SCHEDULER_INSTALLED_READY"|tu }}
{% elseif cron_status == 2 %}
{{ "PLUGIN_ADMIN.SCHEDULER_CRON_NA"|tu([user])|raw }}
{% else %}
{{ "PLUGIN_ADMIN.SCHEDULER_NOT_ENABLED"|tu([user])|raw }}
{% endif %}
{{ "PLUGIN_ADMIN.SCHEDULER_WARNING"|tu([user]) }}
{% include 'partials/blueprints.html.twig' with { blueprints: data.blueprints, data: data } %}
{% include 'partials/modal-changes-detected.html.twig' %}