Add link to FlightAware flight tracking page

This commit is contained in:
Carlos Salaverria 2016-08-19 18:45:39 -05:00
parent 2215a98a08
commit c99375d51c
2 changed files with 21 additions and 2 deletions

View file

@ -183,5 +183,13 @@ function format_data_source(source) {
return "Mode A/C";
}
return "";
}
function format_ident(ident) {
if (ident !== null && ident !== "") {
return "<a href=\"https://flightaware.com/live/flight/" + ident.trim() + "\">" + ident + "</a>";
}
return "";
}