{{ inv_item.attr_l|get_lot_name }} {% if 'attr_c' in inv_item %} {%if inv_item.attr_c|int > 999 %} +999 {% elif inv_item.attr_c|int > 1 %} {{ inv_item.attr_c }} {% endif %} {% endif %} {% if 'attr_b' in inv_item %} {% if inv_item.attr_b == "true" %} {% endif %} {% endif %}