{% extends 'html/main.html' %} {% block header_scripts %} {% if pwic.env.mathjax %} {% endif %} {% endblock %} {% block content %}
{{pwic.project_description|escape}}
{% if (not pwic.env.no_search) or (pwic.links|count > 0) %}
{% for link in pwic.links %} {{link.title|escape}} {% endfor %} {% if not pwic.env.no_search %} {% endif %}
{% endif %}
{% if pwic.env.maintenance %}
{{pwic.emojis.calendar}} {{pwic.env.maintenance.value|escape|replace('\\n','
')}}
{% endif %} {% if pwic.env.message %}
{{pwic.emojis.pin}} {{pwic.env.message.value|escape|replace('\\n','
')}}
{% endif %}
{% if pwic.protection %} {{pwic.emojis.padlock}} {% endif %} {{pwic.emojis.star}} {% trans %}Special{% endtrans %} {% if pwic.manager %} {{pwic.emojis.sparkles}} {% trans %}New page{% endtrans %} {% endif %} {% if pwic.latest and (pwic.manager or (pwic.editor and not pwic.protection)) %} {{pwic.emojis.set_square}} {% trans %}Edit{% endtrans %} {% endif %} {% if not pwic.pure_reader or not pwic.env.no_history %} {{pwic.emojis.clock}} {% trans %}History{% endtrans %} {% endif %} {% if pwic.manager %} {{pwic.emojis.truck}} {% trans %}Move{% endtrans %} {% endif %} {{pwic.emojis.outbox}} {% trans %}Email{% endtrans %} {% if not pwic.env.no_printing %} {{pwic.emojis.printer}} {% trans %}Print{% endtrans %} {% endif %} {% set no_formats = pwic.env.get('file_formats_disabled', {'value': ''}).value.split(' ') %} {% if '*' not in no_formats %} {% for f in pwic.file_formats %} {% if f not in no_formats %} {{pwic.emojis.save}} {{f|escape|upper}} {% endif %} {% endfor %} {% endif %} {% if pwic.validator and (pwic.valuser == '') and pwic.final %} {{pwic.emojis.validate}} {% trans %}Validate{% endtrans %} {% endif %} {% if pwic.removable %} {{pwic.emojis.trashcan}} {% trans %}Delete{% endtrans %} {% endif %}
{% if not pwic.latest %}

{{pwic.emojis.eye}} {% if pwic.env.validated_only %} {{ gettext('You are viewing the revision %(revision)d and other revisions are pending.')|format(revision=pwic.revision, project=pwic.project|urlencode, page=pwic.page|urlencode) }} {% else %} {{ gettext('You are viewing the revision %(revision)d, but the latest version is available.')|format(revision=pwic.revision, project=pwic.project|urlencode, page=pwic.page|urlencode) }} {% endif %}

{% endif %} {% if pwic.valuser != '' %}

{{pwic.emojis.flag}} {{ gettext('This page has been validated by %(user2)s on %(sdate)s at %(stime)s.')|format(user1=pwic.valuser|urlencode, user2=pwic.valuser|escape, sdate=pwic.valdate|escape, stime=pwic.valtime|escape) }}

{% endif %} {% if pwic.tmap|count + pwic.documents|count > 1 %}
{{pwic.emojis.pin}}
{% for tmap in pwic.tmap %} {% if not pwic.env.no_heading %}{{tmap.header|escape}} {% endif %}{{tmap.title|no_html|escape}} {% endfor %} {% if not pwic.env.no_document_list and (pwic.documents|count + pwic.images|count > 0) %} {{pwic.emojis.scroll}} {% trans %}Attached documents{% endtrans %} {% endif %}
{% endif %} {% if pwic.relations|count > 0 %}

{% trans %}Related pages:{% endtrans %} {% for p in pwic.relations %} {% if loop.index > 1 %} – {% endif %} {{p[1]|escape}} {% endfor %}

{% endif %} {% if pwic.tags|count > 0 %}
{% for tag in pwic.tags %} {% if pwic.env.no_search %} #{{tag|escape}} {% else %} #{{tag|escape}} {% endif %} {% endfor %}
{% endif %} {{pwic.html}} {% if not pwic.env.no_document_list and (pwic.documents|count + pwic.images|count > 0) %}

{% trans %}Attached documents{% endtrans %}

{% if pwic.documents|count > 0 %} {% endif %} {% if pwic.images|count > 0 %} {% endif %}
{% endif %}

{{ gettext('Revision #%(revision)d was last modified by %(author2)s
on %(date)s at %(time)s — %(shash)s')|format(revision=pwic.revision, author1=pwic.author|urlencode, author2=pwic.author|escape, date=pwic.date|escape, time=pwic.time|escape, hash=pwic.hash|escape, shash=pwic.hash[:16]|escape) }}

{% if pwic.env.legal_notice %} {% endif %}
{% include 'js/page.js' %} {% if not pwic.env.no_search %} {% include 'js/search.js' %} {% endif %} {% endblock %}