{# select or count over the registry of every addressed server. The server is a column rather than a heading, because the point of the family is comparing two servers row by row: sorting on path puts the same entry of every server next to itself. #}
{{ t("registry.badge") }} {% if outcome.verb == "count" %} {{ t("results.hits") }}: {{ outcome.total }} {% else %} {{ t("results.rows", n=outcome.total) }} {% if outcome.truncated %}({{ t("results.rows_shown", n=outcome.rows|length) }}){% endif %} {% endif %} {% if outcome.servers %} {{ t("registry.servers", n=outcome.servers|length) }}: {{ outcome.servers|join(", ") }} {% endif %}
{% for failure in outcome.errors %} {% endfor %} {% if outcome.verb == "count" %}
{{ outcome.total }}
{{ t("results.hits") }}
{% if outcome.counts|length > 1 %} {% endif %}
{% elif not outcome.rows %}
{{ t("results.empty") }}
{% else %}
{% for column in outcome.columns %}{% endfor %} {% for row in outcome.rows %} {# host:port is the identity a condition and an on clause use; the machine's own name rides along muted on the same line, so the row stays one line high. #} {{ row.value }} {% endfor %}
{{ t("results.actions") }}{{ t("registry.column." ~ column) }}
{# Prefills a write for exactly this entry on exactly this server. A masked value is never handed to the editor: the statement would write the mask back over the secret. #} {% if row.writable %} {% endif %} {{ row.server }} {% if row.computer %}ยท {{ row.computer }}{% endif %} {{ row.key }} {{ row.name }} {{ row.path }}
{% endif %}