{% extends shell('app') %} {% block title %}{{ page.title }}{% endblock %} {% block content %}

{{ page.title }}

{{ legal_kind_labels.get(page.kind, page.kind) }} · /legal/{{ page.slug }} {% if page.acceptance_required %} · {{ _('Asked at sign-up') }}{% endif %}

← {{ _('Back to legal pages') }} + {{ _('New version') }} {{ _('Settings') }} {% if in_force %} {{ _('Open the public page') }} {% endif %}
{% include "legal/admin/_flashes.html" %} {% if lists_out_of_date %}
{% if page.kind == 'privacy' %} {{ _('The services the features declare now are not the ones the latest version lists. Publish a new version, with the same text if nothing else changes, so the notice lists them as they are.') }} {% else %} {{ _('The cookies the features declare now are not the ones the latest version lists. Publish a new version, with the same text if nothing else changes, so the policy lists them as they are.') }} {% endif %} {{ _('New version') }}
{% endif %}
{% for v in versions %} {% else %} {% endfor %}
{{ _('Version') }} {{ _('In force from') }} {{ _('What changed') }} {{ _('Accepted by') }}
{{ _('Version %(number)s', number=v.number) if v.number else _('Draft') }} {% include "legal/admin/_status.html" %} {% if v.requires_reacceptance %}{{ _('Asks again') }}{% endif %}
{{ v.texts | map(attribute='locale') | join(', ') }}
{% if v.effective_at %}{{ v.effective_at | dateformat('medium') }}{% elif v.is_draft %}{{ _('When published') }}{% endif %} {{ v.change_summary }} {% if not v.is_draft %}{{ counts.get(v.id, 0) }}{% endif %} {% if v.is_draft %} {{ _('Edit') }}
{% else %} {{ _('Public page') }} {% endif %}
{{ _('No versions yet. Write the first one.') }}
{% endblock %}