{% extends base_template %} {% load i18n %} {% block title %}{{ doc.title }}{% endblock %} {% block content %}

{{ doc.title }}

{% trans "Version" %} {{ doc.version }} {% if doc.published_at %}— {% trans "in force since" %} {{ doc.published_at|date:"d/m/Y" }}{% endif %}

{% if acceptance %} {% comment %} A plain check character rather than an icon font: this app must render in a host project that may not ship Bootstrap Icons. {% endcomment %}

✓ {% blocktrans with when=acceptance.accepted_at|date:"d/m/Y" at=acceptance.accepted_at|date:"H:i" %}You accepted this document on {{ when }} at {{ at }}{% endblocktrans %} {% if acceptance.version != doc.version %} — {% blocktrans with signed=acceptance.version %}you signed version {{ signed }}{% endblocktrans %} {% endif %}

{% endif %}
{% comment %} A javascript: href rather than a button, to keep this template free of script. Permitted by the current CSP, which carries 'unsafe-inline' in script-src — if that is ever tightened (DC-158), this becomes a button with a listener. {% endcomment %} {% trans "Print or save as PDF" %}
{% include "consent_trail/_language_notice.html" %}
{{ body }}
{% endblock %}