{% for line in lines %} {% endfor %}
Part Synopsis Qty Reference Do not load
{{ line.part_number }} Rev {{ line.revision }} {{ line.synopsis }} {% if line.change == 'updated' %}{{ line.old_count|floatformat:"-3" }} → {{ line.new_count|floatformat:"-3" }} {% elif line.change == 'removed' %}{{ line.old_count|floatformat:"-3" }} {% else %}{{ line.new_count|floatformat:"-3" }}{% endif %} {% if line.change == 'updated' and line.old_reference != line.new_reference %}{{ line.old_reference|default:"–" }} → {{ line.new_reference|default:"–" }} {% elif line.change == 'removed' %}{{ line.old_reference }} {% else %}{{ line.new_reference }}{% endif %} {{ line.do_not_load|yesno:"Yes," }}