{%- import 'ui/kit.html' as kit %}{% import 'ui/broker/_fmt.html' as fmt -%} {%- if gist is none %} {% call kit.drawer('delivery', key) %}

Not found.

{% endcall %} {%- else %} {% call kit.drawer('delivery', 'gist ' ~ key) %} {{ kit.kv([('Gist', key), ('Event', gist.event), ('Action', gist.action), ('Subscriber', gist.subscriber), ('Endpoint', gist.handler), ('Status', gist.status), ('Attempts', gist.attempts)]) }} {%- if gist.code < 0 and not attempts %}
Last response

No delivery attempt yet - the gist is waiting for the aproko worker.

{%- else %}
Last response
{{ gist.code|code_pill }}{{ gist.ms }} ms{{ gist.attempted|ago }}
{{ gist.response }}
{%- if attempts %}
Attempt history
{% for a in attempts %} {% endfor %}
#whenstatuslatencyresponse
{{ a.attempt }}{{ a.ts|ago }}{{ a.status|code_pill }}{{ a.ms }} ms{{ a.response }}
{%- endif %} {%- endif %}
{% endcall %} {%- endif %}