Add back in photos link. Add more descriptions and remove squawks section

This commit is contained in:
James Wilson 2018-08-08 16:41:34 -05:00
parent 71f2c99e96
commit 963cb1aefb
3 changed files with 18 additions and 13 deletions

View file

@ -1819,7 +1819,7 @@ function getFlightAwareModeSLink(code, ident, linkText) {
function getFlightAwarePhotoLink(registration) {
if (registration !== null && registration !== "") {
return "<a target=\"_blank\" href=\"https://flightaware.com/photos/aircraft/" + registration.replace(/[^0-9a-z]/ig,'') + "\">See Aircraft Photos</a>";
return "<a target=\"_blank\" href=\"https://flightaware.com/photos/aircraft/" + registration.replace(/[^0-9a-z]/ig,'') + "\">See Photos</a>";
}
return "";