{% from "components.html" import closer, pill, scrim with context %} {{ scrim("/policies") }} {{ closer("/policies", label="←", klass="panel__close policy__back") }} {{ policy.name }} {{ pill(policy.pill, policy.pill_tone) }} {{ policy.tag }} {{ policy.kind }} New from this Copy id Delete {{ closer("/policies") }} {% for part in policy.meta %} {% if not loop.first %}·{% endif %} {{ part }} {% endfor %} {% for key, label, href in (("document", "Document", ""), ("used", "Used by", "/used")) %} {{ label }} {% endfor %} {% if tab == "used" %} {% include "partials/policy_used.html" %} {% else %} {% include "partials/policy_document.html" %} {% endif %}
{% for part in policy.meta %} {% if not loop.first %}·{% endif %} {{ part }} {% endfor %}