% content_for :title, t(".airports") %>
<%= t(".no_airport_data_yet_it") %>
<% end %><%= t(".airport_data_comes_from_ourairports_html") %>
<% if @updates.any? %>| <%= t(".started") %> | <%= t(".by") %> | <%= t(".status") %> | <%= t(".result") %> |
|---|---|---|---|
| <%= fmt_time(u.created_at) %> | <%= u.requested_by&.display_name || t(".startup") %> | <%= tag.span u.status.capitalize, class: { "done" => "badge-green", "failed" => "badge-red" }.fetch(u.status, "badge-blue") %> | <%= u.done? ? u.summary : u.error %> |
<%= t(".no_match_for_html", query: @query, link: (link_to t(".add_it_as_a_custom"), new_admin_airport_path(ident: @query.upcase), class: "link")) %>
<% end %> <% end %>| <%= t(".code") %> | <%= t(".name") %> | <%= t(".location") %> | <%= t(".type") %> | |
|---|---|---|---|---|
| <%= a.ident %> | <%= a.name %> | <%= a.place %> | <%= a.kind.to_s.humanize %> | <%= link_to t(".edit"), edit_admin_airport_path(a), class: "btn-secondary btn-sm" %> |