{% extends 'base.html' %} {% load i18n %} {% block content %}

{{ object.shortid }}

{% trans 'Details' %}
Phid
{{ object.id }}
{% if object.is_eraseserver %}
{% trans 'Is a erase server' %}
{% endif %}
Type
{{ object.type }}
{% if object.is_websnapshot and object.last_user_evidence %} {% for k, v in object.last_user_evidence %}
{{ k }}
{{ v|default:'' }}
{% endfor %} {% else %}
{% trans 'Manufacturer' %}
{{ object.manufacturer|default:'' }}
{% trans 'Model' %}
{{ object.model|default:'' }}
{% trans 'Serial Number' %}
{{ object.serial_number|default:'' }}
{% endif %}
{% trans 'Identifiers' %}
{% for chid in object.hids %}
{{ chid|default:'' }}
{% endfor %}
{% trans 'Annotations' %}
{% for a in object.get_user_annotations %} {% endfor %}
{% trans 'Key' %} {% trans 'Value' %} {% trans 'Created on' %}
{{ a.key }} {{ a.value }} {{ a.created }}
{% trans 'Documents' %}
{% for a in object.get_user_documents %} {% endfor %}
{% trans 'Key' %} {% trans 'Value' %} {% trans 'Created on' %}
{{ a.key }} {{ a.value }} {{ a.created }}
{% for tag in lot_tags %}
{{ tag }}
{% for lot in object.lots %} {% if lot.type == tag %} {% endif %} {% endfor %} {% endfor %}
{% trans 'Components last evidence' %}
{% for c in object.components %}
{{ c.type }}
{{ evidence.created }}

{% for k, v in c.items %} {% if k not in 'actions,type' %} {{ k }}: {{ v }}
{% endif %} {% endfor %}

{% endfor %}
{% trans 'List of evidences' %}
{% for snap in object.evidences %}
{{ snap.created }}

{{ snap.uuid }}

{% endfor %}
{% comment %}
Environmental Impact Assessment
{% endcomment %}
Carbon Reduction

{{ impact.carbon_saved }}

kg CO₂e saved

{% comment %}
Whatever other metric we might wanna show

85%

whatever

{% endcomment %}
Impact Details
Manufacturing Impact Avoided {{ impact.carbon_saved }} kg CO₂e
Based on average laptop manufacturing emissions
Calculation Method
Based on industry standards X Y and Z
{% endblock %} {% block extrascript %} {% endblock %}