{% load i18n static localcosmos_tags online_content_tags %}
{{ template_content.verbose_template_name }}
{{ template_content.primary_title }}
{% get_template_content_locale template_content app.primary_language as primary_localized_template_content %} {% for language in app.languages %}
{% get_template_content_locale template_content language as localized_template_content %} {% if localized_template_content %} {% if localized_template_content.published_version %} {% blocktrans with version=localized_template_content.published_version %}published version: {{ version }}{% endblocktrans %} {% else %} {% trans 'not published' %} {% endif %} {% blocktrans with version=localized_template_content.draft_version %}current version: {{ version }}{% endblocktrans %} {% if app.secondary_languages %} {% if localized_template_content.translation_ready %} {% if localized_template_content.draft_version != primary_localized_template_content.draft_version %} {% trans 'old version' %} {% else %} {% trans 'translation complete' %} {% endif %} {% else %} {% trans 'translation incomplete' %} {% endif %} {% endif %} {% else %} {% trans 'missing' %} {% endif %}
{% endfor %}
{% if publication %} {% if publication_errors %}
{% trans 'Publication failed:' %}
{% for error in publication_errors %} {{ error }}
{% endfor %}
{% else %}
{% trans 'publication successful' %}
{% endif %} {% endif %}