{% extends "certification/specification/hardware.html" %} {% block content-body %}

{% if not baseProductID %}

This is a Base Product

{% else %}

This is a Pass-Through Product

{% if baseVendor and baseProduct %} {% for certification in baseProductCertifications %} {% endfor %}
Base Product
Vendor Make Model Category ID
{{ baseVendor.getName }} {{ baseProduct.getMake }} {{ baseProduct.getName }} {{ baseProduct.getCategory }} {{ baseProduct.getID }}
{% with redhat_product=certification.getProductCertification.product %} {{ redhat_product.getName }} {{ redhat_product.getVersion.getVersion }} {% if redhat_product.getVersion.getPlatform %} - {{ redhat_product.getVersion.getPlatform }} {% endif %} {% endwith %}
{% else %}
Base Vendor ID: {{baseVendorID}}
Base Product ID: {{baseProductID}}
{% endif %}
{% endif %} {% if passThroughProducts %}

{% for vendor, product, certifications in passThroughProducts %} {% for certification in certifications %} {% endfor %} {% endfor %}
Pass-Through Products
Vendor Make Model Category ID
{{ vendor.getName }} {{ product.getMake }} {{ product.getName }} {{ product.getCategory }} {{ product.getID }}
{% with redhat_product=certification.getProductCertification.product %} {{ redhat_product.getName }} {{ redhat_product.getVersion.getVersion }} {% if redhat_product.getVersion.getPlatform %} - {{ redhat_product.getVersion.getPlatform }} {% endif %} {% endwith %}
{% endif %} {% endblock content-body %}