{% 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 %}
{% endif %}
{% if page.application_urls %}
{% endif %}
{% for lang in page.get_languages|in_filtered:site_languages %}
{% if has_change_permission %}
{{ lang }}
{% else %}
{{ lang|upper }}
{% endif %}
{% if not forloop.last %} | {% endif %}
{% endfor %}
{% if not filtered %}
{% if has_move_page_permission %}{% trans "cut" %}{% endif %}
{% endif %}
{% if has_change_permission %}{% 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 has_delete_permission %}{% trans "delete" %}{% endif %}