| Priority | Issue | Resolution | Resolved | |
|---|---|---|---|---|
| <%= squawk_priority_badge(s) %> | <%= s.issue_reported %><%= render "squawks/attachments", squawk: s %> | <%= s.notes %><% if s.logbook_entry %> <%= link_to "Logbook #{s.logbook_entry.date}", aircraft_logbook_entry_path(@aircraft, s.logbook_entry), class: "link" %> <% end %> |
<%= s.resolved_at&.to_date %> | <% if owner? %><%= button_to "Reopen", reopen_aircraft_squawk_path(@aircraft, s), method: :patch, class: "btn-secondary btn-sm" %><% end %> |