{% load i18n wpadmin_menu_tags %} {% spaceless %} {% if is_user_allowed and not item.is_empty %} {% endif %} {% endspaceless %}