{% extends "admin/change_list.html" %} {% load i18n admin_list admin_static admin_urls cms_admin cms_static %} {# load i18n admin_list admin_static admin_urls cms_admin cms_js_tags cms_static cms_tags #} {% block extrahead %} {{ block.super }} {# INFO: we need to add styles here instead of "extrastyle" to avoid conflicts with adminstyle #} {% endblock extrahead %} {% block result_list %} {% if action_form and actions_on_top and cl.show_admin_actions %}{% admin_actions %}{% endif %} {% if cl.result_list %}
{% for lang in languages %} {% endfor %} {% for article in cl.result_list %} {% for lang in languages %} {% endfor %} {% endfor %}
{% trans 'Article' %}
{% trans 'Date' %}
{% trans 'View' %}
{{ lang.0|upper }}
{% trans 'Actions' %}
{{ article }} {{ article.creation_date }}
{# INFO: renders #} {% tree_publish_row article lang.0 %}

{% trans "Pick an action:" %}

{% trans "Preview" %} {# hide if article is empty #} {% if has_publish_permission and lang.0 in article.languages %} {% if article|is_dirty:lang.0 or not article|is_published:lang.0 %} {% trans "Publish" %} {% endif %} {% if article|is_published:lang.0 %} {% trans "Unpublish" %} {% endif %} {% endif %} {% if lang.0 in article.languages %}{% trans "Settings" %}{% else %}{% trans "Translate" %}{% endif %}
{% if has_delete_permission %} {% endif %}
{% endif %} {% if action_form and actions_on_bottom and cl.show_admin_actions %}{% admin_actions %}{% endif %} {% endblock %}