{% extends "modeltranslation/admin/admin.html" %} {% load static from staticfiles %} {% load thumbnail %} {% load i18n %} {% block custom-css %} {{ block.super }} {% endblock %} {% block head_title %} Administrate translations {% endblock %} {% block breadcrumb_element %} {{ block.super }} › Translations to {{language}} {% if filter and filter != "all" %} › {% if filter == "fuzzy" %} Incomplete {% elif filter == "completed" %} Complete {% endif %} {% endif %} {% if search_query %} › Results {% endif %} {% endblock breadcrumb_element %} {% block body %}
{% block content %} {% include "modeltranslation/admin/search.html" %}

List of existing texts:

{% if translations|length > 0 %}
{% for translation in translations %} {% cycle 'odd' 'even' as parity silent %} {% with verbose_field_name=translation.get_verbose_field_name source_text=translation.source_text translation_text=translation.translation %} {% endwith %} {% endfor %}
Model Attribute Source text Translation Actions
{{translation.source_model.meta__verbose_name.title}} {{verbose_field_name}} {{source_text|truncatewords:20}} {{translation_text|truncatewords:20}}
{% else %}
There are no translations for this language
{% endif %}
{% endblock content %}
{% endblock %}