{% load markups %} {% for child in detail %} {% if child.expander != "disabled" %} {% else %} {% endif %} {% for cell in child.cell_nodes %} {% if cell.is_image %} file '{{MEDIA_URL}}{{node.value}}' not found on server {% else %} {% if cell.value == None or cell.value == "" %} N.D {% else %} {{cell.value|safe|auto_markup}} {% endif %} {% endif %} {% endfor %} {% with child as node %} {% for action in node.ordered_displayed_actions reversed %} {% include "action_button.html" %} {% endfor %} {% endwith %} {% comment %} {% endcomment %} {% if child.expander != "disabled" and child.state == "opened" %} {% for node in child.detail %} {% include node_filename %} {% endfor %} {% endif %} {% endfor %}