{% if not CMS_PERMISSION or has_add_permission or has_add_page_permission %}{% spaceless %}
{# if permissions not enabled, user user haves global can_add page #}
{% if has_add_on_same_level_permission %}
↑↓
{% endif %}
↘
{% endspaceless %}{% endif %}
{% if page.soft_root or page.is_home %}
{% if has_change_permission %}
{% trans "page settings" %}
{# #}
{% trans "copy" %}{% endif %}
{% if has_add_page_permission and has_add_on_same_level_permission %}
{% trans "add" %}
{% else %}
{% if has_add_page_permission %}
{# if he can add page under current page, go directly to thi url #}
{% trans "add" %}
{% endif %}
{% endif %}
{% if not filtered %}
{% if has_move_page_permission %}{% trans "cut" %}{% endif %}
{% endif %}
{% if has_delete_permission %}{% trans "delete" %}{% endif %}
{% trans "info" %}
{% if page.publication_date %}{% trans "publication date" %}: {{ page.publication_date|date:"Y-m-d" }} {% endif %}
{% if page.publication_end_date %}{% trans "publication end date" %}: {{ page.publication_end_date|date:"Y-m-d" }} {% endif %}
{% trans "is restricted" %}: {{ page|is_restricted:request }}
{% if page.changed_by %}{% trans "last change by" %}: {{ page.changed_by }} {% endif %}
{% if page.get_template_display %}{% trans "template" %}: {{ page.get_template_display }}{% endif %}