{% extends "certification/certification.html" %} {% load safe_id %} {% block content-body %} {% if results and results.document %}
{% if results.document.getHardwareValues.vendor %}
Host Vendor
{{ results.document.getHardwareValues.vendor }} 
Host Model
{{ results.document.getHardwareValues.model }} 
Host Arch
{{ results.document.getHardwareValues.arch }} 
{% endif %} {% if results.document.getState %}
State:
{{ results.document.getState }}
{% endif %} {% if results.document.getSubmitTime %}
Submitted:
{{ results.document.getSubmitTime }} {% if results.document.getValidationJobID %} JobID: {{ results.document.getValidationJobID }}{% endif %}
{% endif %}
Actions:
{% if results.document.getCertificationProgram == "hardware" %} {% endif %} {% for runNumber in results.runs %} {% if runNumber == "1" %} {% else %} {% endif %} {% endfor %} {% for test in results.tests %} {% if results.document.getCertificationProgram == "hardware" %} {% endif %} {% for runNumber, run in test.runs.items %} {% endfor %} {% endfor %}
TestHost Device {% if results.document.getCertificationState != "local" and not results.document.getSubmitTime %} {% else %} Assignment {% endif %} Results{{ runNumber }}
{{ test.test.getPath }} {% if test.device %} {{ test.device }} {% elif test.udi %} {{ test.udi }} {% else %}   {% endif %} {% if test.test.getName != "info" %} {% endif %} {% if not run %}   {% elif run.getSummary %} {% if run.getSubTestOutputDocuments %}
{% for subtestOutput in run.getSubTestOutputDocuments %} {{ subtestOutput.getName }}: {{ subtestOutput.getSummary }}
{% endfor %} Combined: {{run.getSummary}}
{% else %} {{run.getSummary}} {% endif %} {% if run.getAttachmentsAttributes %}
{% for attachment in run.getAttachmentsAttributes %} {{attachment.name|truncatechars:40}}
{% endfor %}
{% endif %} {% endif %}
{% if results.document.getCertificationState != "local" and results.document.getRunTime and not results.document.getSubmitTime %}
{% endif %}

client: {{ results.document.getVersion }} {{ results.document.getRelease }} {% endif %} {% endblock content-body %}