{% extends 'BCCCronManagerBundle::layout.html.twig' %} {% block content %}
{% for index, cron in crons %}
{{ cron.status | trans({}, 'BCCCronManagerBundle') | capitalize }}

{{ cron.expression }} {{ cron.command }}

{% if cron.comment %} {% endif %} {% if cron.logFile %} {% endif %} {% if cron.errorFile %} {% endif %}
{{ 'Last Run' | trans({}, 'BCCCronManagerBundle') }} {{ cron.lastRunTime ? cron.lastRunTime | date : 'Unknown' | trans({}, 'BCCCronManagerBundle') }}
{{ 'Comment' | trans({}, 'BCCCronManagerBundle') }} {{ cron.comment }}
{{ 'Log File' | trans({}, 'BCCCronManagerBundle') }} {{ cron.logFile }} {% if cron.logSize %} {{ 'Log File' | trans({}, 'BCCCronManagerBundle') }} {% endif %}
{{ 'Error File' | trans({}, 'BCCCronManagerBundle') }} {{ cron.errorFile }} {% if cron.errorSize %} {{ 'Error file' | trans({}, 'BCCCronManagerBundle') }} {% endif %}
{{ 'Raw cron' | trans({}, 'BCCCronManagerBundle') }}
{{ cron }}
{{ 'Edit' | trans({}, 'BCCCronManagerBundle') }} {% if cron.suspended %} {{ 'Wake up' | trans({}, 'BCCCronManagerBundle') }} {% else %} {{ 'Suspend' | trans({}, 'BCCCronManagerBundle') }} {% endif %} {{ 'Remove' | trans({}, 'BCCCronManagerBundle') }}
{{ not loop.last ? '
' : '' }} {% endfor %}
{% include 'BCCCronManagerBundle:Default:form.html.twig' with {'form': form} %}
{{ raw }}
{% endblock %}