{% extends "@DukecityCommandScheduler/layout.html.twig" %} {% trans_default_domain 'DukecityCommandScheduler' %} {% block title %} {{ 'list.title'|trans }} {% endblock title %} {% block content %}
| {{ "detail.name"|trans }} | {{ "detail.command"|trans }} | {{ "detail.cronExpression"|trans }} | {{ "detail.logFile"|trans }} | {{ "detail.lastExecution"|trans }} | {{ "detail.nextRun"|trans }} | {{ "detail.priority"|trans }} | {{ "detail.actions"|trans }} | |
|---|---|---|---|---|---|---|---|---|
| {% if command.disabled == true %} {% else %} {% endif %} | {{ command.name }} | {{ command.command }} {{ command.arguments }} | {{ command.cronExpression }} | {{ command.logFile }} | {{ command.lastExecution is empty ? "" : command.lastExecution|date( "dateFormat"|trans ) }} | {% set nextRunDate = command.getNextRunDate() %} {% if nextRunDate is not null %} {{ nextRunDate|date( "dateFormat"|trans ) }} {% endif %} | {{ command.priority }} |
{% if command.locked == true %}
{% else %}
|