{% load i18n wagtailadmin_tags %} {% test_page_is_public page as is_public %} {% if not page_perms %} {% page_permissions page as page_perms %} {% endif %} {% if not page.is_root %}

{% trans "Current status:" %} {% trans "Public" %} {% trans "Private" %}

{% if page.id and page_perms.can_set_view_restrictions %} {% endif %}
{% endif %}