{% from "leeuwenhoek/_macros.html" import duration, time_ago, json_tree %} {% macro exit_tag(code) -%} {{ code }} {%- endmacro %} {% macro head() %}
{{ e.content.name }}{{ e.content.name }} {{ exit_tag(e.content.exit_code) }} {{ duration(e.content.duration_ms) }}{% endmacro %}
{% macro detail(e) %}
{% set c = e.content %}
Command
{{ c.name }}
Exit code
{{ exit_tag(c.exit_code) }}
Duration
{{ c.duration_ms | lw_duration }}