{% extends 'base.html' %} {% load base_extras inventory_extras ui_extras %} {% block content %}
| Attribute | Value |
|---|---|
| Query |
|
| Validity | {{ object.valid_from }} → {% if object.valid_until %}{{ object.valid_until }}{% endif %} |
| Serial number{{ object.serial_numbers|length|pluralize }} | {% for serial_number in object.serial_numbers %} {{ serial_number|privacywrapper }}{% if not forloop.last %}, {% endif %} {% empty %} - {% endfor %} |
| Tag{{ object.tags.count|pluralize }} | {% for tag in object.tags.all %}{% inventory_tag tag %}{% empty %}-{% endfor %} |
| Shard | {{ object.shard }}% |