{% extends "obj_repr.html" %} {% set obj = container %} {% set obj_type = "eocontainer" %} {% set flag_for_svg = prettier %} {% block icon %} {% if flag_for_svg %} {% if class_name == "measurements" %} {% include "static/images/icons-svg-measurement.svg" %} {% elif class_name == "info" %} {% include "static/images/icons-svg-info.svg" %} {% elif class_name == "quality" %} {% include "static/images/icons-svg-quality.svg" %} {% elif class_name == "attrs" %} {% include "static/images/icons-svg-attributes.svg" %} {% else %} {% include "static/images/icons-svg-root.svg" %} {% endif %} {% else %} [P] {% endif %} {% endblock %} {% block sections %} {% if obj.attrs %}
  • {{obj.attrs|human_readable_attrs}}
  • {% endif %} {% for product_name, product in obj.items() %} {% if product | iscontainer() %}
  • {% with container=product, class_name=product_name, flag_for_svg=flag_for_svg %} {% include "container.html" %} {% endwith %}
  • {% else %}
  • {% with product=product, class_name=product_name, flag_for_svg=flag_for_svg %} {% include "product.html" %} {% endwith %}
  • {% endif %} {% endfor %} {% endblock %}