{% extends "wagtailadmin/base.html" %} {% load i18n wagtailadmin_tags static %} {% block titletag %}{% trans "Translation Progress Dashboard" %}{% endblock %} {% block bodyclass %}listing{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% blocktrans with label=column_filter_label %}Only showing '{{ label }}' languages.{% endblocktrans %}
{% endif %} {% if pages_with_progress %}| {% trans "Page Title" %} | {% trans "Status" %} | {% trans "Translations" %} | {% trans "Actions" %} |
|---|---|---|---|
|
{{ page_data.page.get_admin_display_title }}
{{ page_data.page.get_url }}
|
{% if page_data.page.live and page_data.page.has_unpublished_changes %} {% trans "live + draft" as page_status %} {% elif page_data.page.live %} {% trans "live" as page_status %} {% else %} {% trans "draft" as page_status %} {% endif %} {{ page_status }} |
{% if page_data.translations %}
{% for translation in page_data.translations %}
{% if translation.percent_translated == 100 %}
{% icon name="circle-check" %}
{% trans "Complete:" %}
{% else %}
{% icon name="warning" %}
{% trans "In progress:" %}
{% endif %}
{{ translation.locale|upper }} {% if translation.percent_translated != 100 %}{{ translation.percent_translated }}%{% endif %}{% if not translation.live %}
{% trans "(draft)" %}
{% elif translation.has_unpublished_changes %}
{% trans "(live + draft)" %}
{% endif %}
{% endfor %}
{% else %}
{% trans "No translations" %}
{% endif %}
|
{% trans "Edit" %}
{% if page_data.page.live %}
{% trans "View" %} {% trans "(opens in new window)" %}
{% endif %}
|
{% trans "No pages found." %}
{% endif %}