{% extends "obj_repr.html" %} {% set obj = product %} {% set obj_type = "eoproduct" %} {% 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 product.attrs %}
  • {{obj.attrs|human_readable_attrs}}
  • {% endif %} {% for group_name, group in product.groups %}
  • {% with group=group, class_name=group_name, flag_for_svg=flag_for_svg %} {% include "group.html" %} {% endwith %}
  • {% endfor %} {% endblock %}