| <%= t(".priority") %> | <%= t(".issue") %> | <%= t(".resolution") %> | <%= t(".resolved") %> | |
|---|---|---|---|---|
| <%= squawk_priority_badge(s) %> | <%= s.issue_reported %><%= render "squawks/attachments", squawk: s %> | <%= s.notes %><% if s.logbook_entry %> <%= link_to t(".logbook", date: fmt_date(s.logbook_entry.date)), aircraft_logbook_entry_path(@aircraft, s.logbook_entry), class: "link" %> <% end %> |
<%= fmt_date(s.resolved_at&.to_date) %> | <% if can?(:manage_squawks) %><%= button_to t(".reopen"), reopen_aircraft_squawk_path(@aircraft, s), method: :patch, class: "btn-secondary btn-sm" %><% end %> |