{% from '_macros.html' import render_summary_details, render_list, render_bool %}
{% extends "_class.html" %}
{% block class_name %}{{ obj.__class__.__name__ }}{% endblock %}
{% block oid %}{{ oid }}{% endblock %}
{% block extra_head -%}|
name: {{ obj.name }}
scope: {{ obj.scope }}
{% if obj.target -%}
target: {{ obj.target }}
{% endif %}|
execution: {{ render_bool(obj.success) }} {{ obj.end - obj.start }}
{% endblock %}
{% block details -%}
{% if obj.exception -%}
Exception: {{ obj.exception }}
{% endif %}
{% if obj.warnings -%}
{{ render_summary_details('warnings', render_list(obj.warnings)) }}
{% endif %}
{{ obj.result|autoformat }}
{% endblock %}