{% from "leeuwenhoek/_macros.html" import duration, time_ago, json_tree %} {% macro status_tag(status) -%} {{ status }} {%- endmacro %} {% macro head() %}
{{ e.content.name }}{{ e.content.name }} {{ status_tag(e.content.status) }} {{ duration(e.content.duration_ms) }}{% endmacro %}
{% macro detail(e) %}
{% set c = e.content %}
Job
{{ c.name }}
Status
{{ status_tag(c.status) }}
Duration
{{ c.duration_ms | lw_duration }}
| Job id | {{ c.id }} |
|---|---|
| Function | {{ c.func }} |
| Trigger | {{ c.trigger }} |
| Executor | {{ c.executor }} |
| Scheduled run time | {{ c.scheduled_run_time or "—" }} |
| Next run time | {{ c.next_run_time or "—" }} |
| Reason | {{ c.reason }} |
| Exception | {{ c.exception['class'] }}: {{ c.exception.message }} |
| Result | {{ c.result }} |
Arguments
{{ json_tree(c.arguments, true) }}{% endif %} {% endmacro %}