{# State 511 camera detail. Live fetched direct from the source (no proxy /
blob storage in Central). Fields from payload->data->data. #}
{% set d = (event.data.get('data') or {}).get('data') or {} %}
{% if d.get('image_url') %}
View
{% endif %}
{% if d.get('roadway_name') %}
Road
{{ d.roadway_name }}{% if d.get('direction') and d.direction not in ['Unknown', 'None'] %} ({{ d.direction }}){% endif %}
{% endif %}
{% if d.get('location_description') %}
Location
{{ d.location_description }}
{% endif %}
{% if d.get('source') %}
Source
{{ d.source }}
{% endif %}
{% if d.get('image_count') and d.image_count > 1 %}