{% extends "generic/object.html" %} {% load helpers %} {% load i18n %} {% block title %}{% trans "Build Modules" %} — {{ object }}{% endblock %} {% block extra_controls %}
{% csrf_token %}
{% endblock %} {% block content %}
{% trans "Module Preview" %} {% if vendor %} {{ vendor }} {% endif %} {% if protocol %} {{ protocol }} {% endif %}
{% trans "Type filter:" %} {% for kind, label, default_checked in kind_filters %}
{% endfor %}
{% csrf_token %} {% for entry in entries %} {% empty %} {% endfor %}
{% trans "Status" %} {% trans "Module Bay" %} {% trans "Kind" %} {% trans "Redfish Slot / Path" %} {% trans "Serial" %} {% trans "Part" %}
{% if entry.status == "removed" %} {% else %} {% endif %} {% if entry.status == "new" %} {% trans "New" %} {% elif entry.status == "updated" %} {% trans "Updated" %} {% elif entry.status == "removed" %} {% trans "Removed" %} {% else %} {% trans "Unchanged" %} {% endif %} {% if not entry.bay_exists %} {% trans "New Bay" %} {% endif %} {{ entry.normalized_name }} {{ entry.kind|upper }} {{ entry.raw_name }} {% if entry.source_path %}
{{ entry.source_path }} {% endif %}
{% if entry.serial %}{{ entry.serial }}{% else %}—{% endif %} {% if entry.status == "updated" and entry.old_serial and entry.old_serial != entry.serial %}
{{ entry.old_serial }} {% endif %}
{% if entry.part_id %}{{ entry.part_id }}{% else %}—{% endif %} {% if entry.status == "updated" and entry.old_part_id and entry.old_part_id != entry.part_id %}
{{ entry.old_part_id }} {% endif %}
{% trans "No components detected." %}
{% endblock %}