{% macro ComponentJob(uuid,grupo, titulo, descricao, is_running, is_task,last_run, stoped) %} {% if is_running == True%} {% set root_class = 'jobs-running' %} {% else %} {% set root_class = 'jobs-stopped' %} {% endif %}

{{grupo}}

{{titulo}}

{{descricao}}

{% if last_run %} {{last_run.strftime('%d/%m %H:%M:%S')}} {% endif %} {% if stoped %} {{stoped.strftime('%d/%m %H:%M:%S')}} {% endif %}
{% if not is_task %} {% endif %} {% if is_running == True %} {% else %} {% endif %}
{% endmacro %}