{% comment %} {% load url from future %} {% endcomment %}
{{element.path}}
{% for d in details %} {% if d %} {% else %} {% endif %} {% endfor %}
{{d.name}} : {% if d.value %} {% if d.value.resource_type %} {% with d.value as resource %} {% if resource.parent %} {% with resource.parent as resource %} {{ resource.name }} {% endwith %} {% endif %} {{ resource.name }} {% endwith %} {% else %} {{ d.value }} {% endif %} {% else %} n/a {% endif %}