% content_for :title, "Airports" %>
No airport data yet. It downloads automatically when the app starts. Use “Update from OurAirports” if that didn't happen.
<% end %>Airport data comes from OurAirports (public domain), the same source AirTrail uses. It's used for From/To autocomplete and to match airport codes when syncing to AirTrail. Updates add new airports, apply changes and remove closed-out entries; custom airports are never changed.
<% if @updates.any? %>| Started | By | Status | Result |
|---|---|---|---|
| <%= l(u.created_at, format: :short) %> | <%= u.requested_by&.display_name || "Startup" %> | <%= tag.span u.status.capitalize, class: { "done" => "badge-green", "failed" => "badge-red" }.fetch(u.status, "badge-blue") %> | <%= u.done? ? u.summary : u.error %> |
No match for “<%= @query %>”. <%= link_to "Add it as a custom airport", new_admin_airport_path(ident: @query.upcase), class: "link" %>.
<% end %> <% end %>| Code | Name | Location | Type | |
|---|---|---|---|---|
| <%= a.ident %> | <%= a.name %> | <%= a.place %> | <%= a.kind.to_s.humanize %> | <%= link_to "Edit", edit_admin_airport_path(a), class: "btn-secondary btn-sm" %> |