{% load i18n wagtailadmin_tags %} {% if page.live and page.url is not None %} {% test_page_is_public page as is_public %} {% icon name="link-external" class_name="initial" %} {% trans "Live" %} ({% trans "restricted" %}) {% endif %}