{% extends 'bom/bom-base.html' %} {% block head-title %}{{ title }}{% endblock %} {% block content %}
{{ change.rationale|default:"No rationale given."|linebreaksbr }}
Authored by {{ change.author.username }}{% if change.api_token %} through {% if change.agent_client %}{{ change.agent_client }} · {% endif %}token {{ change.api_token.name }}{% endif %}, {{ change.created_at|timesince }} ago. {% if change.resolved_by %}{{ change.get_status_display }} by {{ change.resolved_by.username }}.{% endif %} {% if change.protection_overridden_by %}Protection overridden by {{ change.protection_overridden_by.username }}.{% endif %}{{ error_count }} error{{ error_count|pluralize }}, {{ warning_count }} warning{{ warning_count|pluralize }}
{% for problem in problems %}Item {{ problem.item.position }}: {{ problem.message }}
{% endfor %}{{ assembly.part_number }} rev {{ assembly.revision }}
{{ assembly.configuration }}
{% if assembly.needs_new_revision %}
Released: needs a new revision to use the change.{% endif %}
uses {{ assembly.uses }}
No assemblies use the parts this change edits.
{% endfor %}{{ target.part_number }} rev {{ target.revision }}
{% if target.delta is not None %}
{{ target.before|floatformat:4 }} → {{ target.after|floatformat:4 }} {{ impact.cost.currency }}
({% if target.delta > 0 %}+{% endif %}{{ target.delta|floatformat:4 }})
{% elif is_pending %}
Not available: the cost could not be computed after the change.
{% else %}
Cost is only compared while the change is pending.
{% endif %}
The change does not edit an existing assembly.
{% endfor %} {% if impact.cost.delta is not None %}Total {% if impact.cost.delta > 0 %}+{% endif %}{{ impact.cost.delta|floatformat:4 }} {{ impact.cost.currency }}
{% endif %}These Released assemblies still use a revision this change replaced.
{% endif %} {% for revision in cascaded_revisions %}Created {{ revision.part.full_part_number }} rev {{ revision.revision }} Release
{% endfor %}{% if is_pending %}{{ approval.message }}{% else %}This change is {{ change.get_status_display|lower }}.{% endif %}