{% load i18n %} {% if not instance.is_root and instance.is_smart_folder %} {% endif %} {% for ancestor_folder in instance.logical_path %} {% endfor %} {% if breadcrumbs_action %} {% if instance.label or instance.name %} {% endif %} {% else %} {% endif %}