{% load dash_tags %}
{% if result.was_success %}√{% else %}x{% endif %} {% if result.has_states %} {{ result.duration|pretty_time }} {% endif %}

{{ result.minion }}

{% if show_job %} {% include "dash/_job_summary.html" with job=result.job %} {% endif %} {% if result.has_states %} {% if result.states_failed > 0 %} {{ result.states_failed }} failed {% endif %} {% if result.states_failed_requisite > 0 %} {{ result.states_failed_requisite }} failed req {% endif %} {% if result.states_changed > 0 %} {% endif %} {% if result.states_unchanged > 0 %} {{ result.states_unchanged }} unchanged {% endif %} {% else %} {# not state output, just text/json #} {% if collapsed %} Show/hide results {% endif %} {% if result.return_val %} {% endif %} {% endif %}
{% if result.completed %} {% endif %}