{% load i18n wagtailadmin_tags %} {% if allow_external_link or allow_email_link or current == 'external' or current == 'email' %} {% endif %}