{% import "components.html" as c with context %} {# the configuration of an agent as cards: the agent itself, then one card per channel and per runtime, kept as a stack of pages per kind with a blank page at the end to start another. field names carry the card's number, so the handler reads the cards back in the order they were added; the values sent are the configuration's own words, the page shows them in the reader's #} {% macro kind_name(family, kind) -%} {{ t.text("agents." ~ family ~ "." ~ kind) if t.has("agents." ~ family ~ "." ~ kind) else kind }} {%- endmacro %} {% macro logo(family, kind) -%} {% if family == "channel" %}{{ c.channels((kind,)) }}{% else %}{{ c.runtimes((kind,)) }}{% endif %} {%- endmacro %} {% macro basic(values) -%}
{{ t.text("contacts.reply_hint") }}
{{ t.text('agents.' ~ listed.answer, {'code': listed.code}) }}
{% else %} {% for item in listed.kinds %}{% endfor %} {% endif %} {%- endmacro %} {% macro deck(family, owner) -%}