{{ loc.asset_name or ('Unavailable inventory host' if loc.asset_ref else '') }}{{ ' · ' if loc.asset_ref }}{{ loc.resource_name or ('Unavailable SSH resource' if loc.resource_ref else 'Inventory only') }}
{{ loc.directory }}{% if loc.subdirectory %} / {{ loc.subdirectory }}{% endif %}
{{ 'Checkout' if loc.directory_kind == 'checkout' else 'Deployment directory' }}{% if loc.expected_ref %} · Expected: {{ loc.expected_ref }}{% endif %}
{% if loc.observed %}Observed: {{ loc.observed.get('repository', '') }} {{ loc.observed.get('ref', '') }} {{ loc.observed.get('commit', '') }}
{% endif %}{% if loc.verified_at %}Last check: {{ loc.verified_at }}
{% endif %}{% if loc.verification_message %}{{ loc.verification_message }}
{% endif %}{% if not loc.available %}Host or inventory association is unavailable. Edit the location to choose a valid connection.
{% endif %}{% if loc.application_url %}Open application{% endif %}{{ loc.notes }}