{% extends "base.html" %}{% from "_inventory_forms.html" import device_kind %}{% block title %}Review {{ observation.data.name }} · Keywright{% endblock %} {% block body %}{% include "_infrastructure_nav.html" %}{% set item=observation.data %}
{{ providers[observation.provider] }} · {{ resource_map[observation.resource_id].name }} · observed {{ observation.last_seen.strftime('%Y-%m-%d %H:%M') }} UTC
{% if not fresh %}Linked to {{ target.name }}. Last reviewed {{ discovery_link.reviewed_at.strftime('%Y-%m-%d %H:%M') }} UTC.
{% else %}Choose an existing resource to link it to this device. A new inventory record is created if that resource has none.
{% if candidates %}Possible matches: {% for candidate in candidates %}{{ candidate.asset.name }} ({{ candidate.reasons }}){% if not loop.last %}; {% endif %}{% endfor %}. Select a record only after confirming its identity.
{% endif %}{% endif %} {% if selected_resource %}{{ selected_resource.name }} will be linked to {{ target.name if target else 'the new inventory record' }} when you save.
{% endif %} {% if target %}{% endif %}