{gettext("Sender")} | {gettext("SSID")} | {gettext("Base Callsign")} | {gettext("Data Type")} | {gettext("Symbol")} | {gettext("Path")} | {gettext("Latitude")} | {gettext("Longitude")} | {gettext("Device")}
--- | --- | --- | --- | --- | --- | --- | --- | ---

<.link navigate={~p"/packets/#{Map.get(packet, :base_callsign, Map.get(packet, "base_callsign", ""))}"} class="font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" > {Map.get(packet, :sender, Map.get(packet, "sender", ""))}

{Map.get(packet, :ssid, Map.get(packet, "ssid", ""))}

<.link navigate={~p"/packets/#{Map.get(packet, :base_callsign, Map.get(packet, "base_callsign", ""))}"} class="font-semibold text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 dark:hover:text-indigo-300" > {Map.get(packet, :base_callsign, Map.get(packet, "base_callsign", ""))}

{Map.get(packet, :data_type, Map.get(packet, "data_type", ""))}

<% data = Map.get(packet, :data_extended) || %{} raw_table = Map.get(data, :symbol_table_id) || Map.get(data, "symbol_table_id") || "/" table = if raw_table in ["/", "\\", "]"], do: raw_table, else: "/" code = Map.get(data, :symbol_code) || Map.get(data, "symbol_code") || ">" %> {table}{code}

{Map.get(packet, :path, Map.get(packet, "path", ""))}

{format_coordinate(extract_coordinate(packet, :lat))}

{format_coordinate(extract_coordinate(packet, :lon))}

{Map.get(packet, :device_identifier, Map.get(packet, "device_identifier", ""))}

<%= if Enum.count(@streams.packets) == 0 do %>

### {gettext("No packets")}

{gettext("Packets will appear here as they are received.")}

<% end %>