{% extends shell('app') %} {% block title %}{{ _('Legal pages') }}{% endblock %} {% block content %}

{{ _('Legal pages') }}

{{ _('The privacy notice, the terms and the other legal texts. Each change is a new version, and the published ones are kept.') }}

+ {{ _('Add document') }}
{% include "legal/admin/_flashes.html" %}
{% for row in rows %} {% set d = row.document %} {% else %} {% endfor %}
{{ d.title }} {{ legal_kind_labels.get(d.kind, d.kind) }} {% if d.acceptance_required %}{{ _('Accepted at sign-up') }}{% endif %} {% if row.lists_out_of_date %}{{ _('List out of date') }}{% endif %}
/legal/{{ d.slug }}
{% if row.in_force %} {{ _('Version %(number)s, in force since %(date)s', number=row.in_force.number, date=row.in_force.effective_at | dateformat('medium')) }} {% else %} {{ _('No version in force') }} {% endif %} {% if row.scheduled %}
{{ _('Version %(number)s from %(date)s', number=row.scheduled.number, date=row.scheduled.effective_at | dateformat('medium')) }}
{% endif %} {% if row.drafts %}
{{ ngettext('%(num)d draft', '%(num)d drafts', row.drafts) }}
{% endif %}
{{ _('Versions') }} {{ _('Settings') }} {% if not row.in_force and not row.scheduled %}
{% endif %}
{{ _('No legal pages yet.') }}
{% endblock %}