{% load helpers %}

{% if facts.attached %}Attached device{% else %}Last attached device{% endif %} (Percepxion)

{% if facts.state %}{% endif %}
Port state{{ facts.state }}
Attached{% if facts.attached %}Yes{% else %}No{% endif %}
Make / model{{ facts.make|placeholder }} {{ facts.model }}
Serial{{ facts.serial|placeholder }}
OS{{ facts.os|placeholder }} {{ facts.os_version }}
Last reported{{ facts.last_reported|isodatetime }}