{{ last_run(run) }}{% if r.requested %}{{ _("Requested, waiting for the worker") }}{% elif upcoming %}{{ (_("Next run: {when}")|e).format(when=when(upcoming)) }}{% endif %}
{% if run and run.status == 'done' and run.summary %}{{ run.summary }}
{% endif %}