{% extends 'dg_wiki/_wiki.html' %} {% load i18n humanize dg_core %} {% block page_title %}{{ page.title }}{% endblock %} {% block wiki_head %}{% mention_people 'wiki' %}{% include 'dg_core/_editor_assets.html' %}{% endblock %} {% block main %} {% include 'dg_wiki/_crumbs.html' %}

{{ page.title }}

{% translate "Edit" %}
{% if translations or page.language %}

{% if page.language %}{{ page.language|language_name_local }}{% endif %} {% if translations %} {% translate "Also in" %} {% for each in translations %}{% if each.language %}{{ each.language|language_name_local }}{% else %}{{ each.title }}{% endif %}{% if not forloop.last %} ยท {% endif %}{% endfor %} {% endif %}

{% endif %} {% if behind %}
{% blocktranslate with url=behind.get_absolute_url title=behind.title %}{{ title }}, which this page translates, changed after this page did. It may say more by now.{% endblocktranslate %} {% translate "See what changed" %}
{% endif %} {% if last_change %}

{% blocktranslate with person=last_changed_by when=last_change.history_date|naturaltime %}Last changed by {{ person }}, {{ when }}{% endblocktranslate %}{% if last_changed_via %} {{ last_changed_via }}{% endif %}

{% endif %}
{% if page.body %} {{ html }} {% elif children %} {# A page that only holds others shows them: what an index page would. #}

{% translate "Write an introduction" %}

{% else %}

{% translate "This page is empty." %} {% translate "Write it" %}

{% endif %}
{% if headings %} {% endif %}
{% include 'dg_wiki/_comments.html' %} {% endblock %}