{% load i18n %}
Open
{% if auth %} {% if page %}
{% trans "Edit mode" %} toggle
{% endif %} {% if page.last_page_states %}
{% trans "Status" %}: {% for state in page.last_page_states %} {{ state.get_action_display }} {% endfor %}
{% endif %} {% else %}
{% csrf_token %} {% trans "login" %}
{% endif %}
{% if moderator_should_approve and has_moderate_permission and auth %} {{ page_moderator_state.label }} {% endif %} {% if auth and has_change_permission %}
{% trans "Template" %}arrow
{% endif %} {% if auth %} {% endif %} {% if auth %}
{% csrf_token %} {% trans "Lock" %}{% trans "Logout" %}
{% endif %} {% trans "Close" %}