| {{ entry.index }} |
{% if entry.skipped %}
{% elif entry.failed %}
{% else %}
{% endif %}
|
{{ entry.label }}
{% if entry.outcome and entry.outcome.action is defined and entry.outcome.action %}
{{ entry.outcome.action }}
{% endif %}
{% if entry.outcome and entry.outcome.object_ids is defined %}
{% if entry.outcome.object_ids|length <= 20 %}
{% for id in entry.outcome.object_ids %}#{{ id }}{% if not loop.last %}, {% endif %}{% endfor %}
{% else %}
{{ entry.outcome.object_ids|length }} {{ t("results.hits") }}
{% endif %}
{% elif entry.outcome and entry.outcome.total is defined %}
{{ entry.outcome.total }} {{ t("results.hits") }}
{% endif %}
{% if entry.outcome and entry.outcome.pairs is defined %}
{# A print or a let: the values are the whole result. #}
{% for name, value in entry.outcome.pairs %}{{ name }} = {{ value }}{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %}
{% if entry.outcome and entry.outcome.return_code is defined %}
{# A job call has no objects to name; the return code is the result. #}
{{ entry.outcome.return_code }}
{% if entry.outcome.params_out %}
{# What the job answered. A standalone call prints this in its own
block, so without it a batch line loses everything but the code. #}
{{ entry.outcome.answered }}
{% endif %}
{% if entry.outcome.files %}
{{ entry.outcome.files|length }} {{ t("execute.detail.files") }}
{% endif %}
{% if entry.outcome.errors %}
{% for message in entry.outcome.errors %}{{ message }}
{% endfor %}
{% endif %}
{% endif %}
{% if entry.outcome and entry.outcome.servers is defined and entry.outcome.servers %}
{# A statement that fans out says how many machines answered it. #}
{{ t("batch.servers", n=entry.outcome.servers|length) }}
{% endif %}
{% if entry.outcome and entry.outcome.file_removed is defined and entry.outcome.file_removed %}
{{ t("dml.file_removed") }}
{% endif %}
{% if entry.outcome and entry.outcome.failures is defined and entry.outcome.failures %}
{{ t("dml.partial_failures", count=entry.outcome.failures|length) }}
{% for failure in entry.outcome.failures %}{{ failure.object_id }}: {{ failure.message }}
{% endfor %}
{% endif %}
{% if entry.error_diag %}{{ entry.error_diag.message(t) }}{% endif %}
{% if entry.error %}{{ entry.error }}{% endif %}
|
{% if entry.statement %}{{ entry.statement }}{% endif %}
|