{%- 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 %}No delivery attempt yet - the gist is waiting for the aproko worker.
{%- else %}{{ gist.response }}
{%- if attempts %}
| # | when | status | latency | response |
|---|---|---|---|---|
| {{ a.attempt }} | {{ a.ts|ago }} | {{ a.status|code_pill }} | {{ a.ms }} ms | {{ a.response }} |