{% extends "epic/base_layout.html" %} {% load staticfiles %} {% block extrahead %} {{ block.super }} {% endblock extrahead %} {% block content %} {{ block.super }} {% if num_changes == 0 %}

The bill of material for parts {{bom_part.html_link|safe}} and {{other_bom_part.html_link|safe}} are the same.

{% else %}
Refdes changes between {{bom_part.mfg}} {{bom_part.mfg_pn}} ({{bom_part.html_link|safe}}, newer) versus {{other_bom_part.mfg}} {{other_bom_part.mfg_pn}} ({{other_bom_part.html_link|safe}}, older):
{% for p in removed %} {% endfor %} {% for p in added %} {% endfor %} {% for p in changed %} {% endfor %}
Old New
Type of change Refdes Part Mfg PN Value Part Mfg PN Value
Removed {{p.0}} {{p.1.html_link|safe}} {{p.1.mfg}} {{p.1.mfg_pn}} {{p.1.val}}
Added {{p.0}} {{p.2.html_link|safe}} {{p.2.mfg}} {{p.2.mfg_pn}} {{p.2.val}}
Part changed {{p.0}} {{p.1.html_link|safe}} {{p.1.mfg}} {{p.1.mfg_pn}} {{p.1.val}} {{p.2.html_link|safe}} {{p.2.mfg}} {{p.2.mfg_pn}} {{p.2.val}}
{% endif %} {% endblock content %}