From 3f2a7c2a68c34c724c24bba89a062a79d4399212 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 15 Nov 2024 15:55:55 +0100 Subject: [PATCH] index.html: set personal adsblol link for non-stage2 installs this works nicer for people on VPN or when using multiple receivers behind the same IP --- .../root/opt/adsb/adsb-setup/templates/index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/templates/index.html b/src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/templates/index.html index 1a190bb2..fab971a5 100644 --- a/src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/templates/index.html +++ b/src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/templates/index.html @@ -310,7 +310,7 @@
Additional aggregator links
ADSB.lol feeder introduction {% if num_micro_sites == 1 %} -
  • personal ADSB.lol URL with the planes you are sending
  • +
  • personal ADSB.lol URL with the planes you are sending
  • ADSB.lol MLAT feeder map for the area around {{ list_value_by_tag('site_name', 0) }}
  • @@ -563,10 +563,8 @@
    Additional aggregator links
    $("#" + agg + "span" + idx).attr("class", 'text-dark') } if (agg == "adsblol") { - if (idx > 0) { - // console.log("set adsblol-link" + idx + " to " + data["adsblollink"]) - $("#adsblol-link-" + idx).attr("href", data["adsblollink"]) - } + // console.log("set adsblol-link" + idx + " to " + data["adsblollink"]) + $("#adsblol-link-" + idx).attr("href", data["adsblollink"]) } if (agg == "alive") { $("#alivemaplink_" + idx).attr("href", data["alivemaplink"])