Wrap datetime in time element with attrs (#32177)

This commit is contained in:
Matt Jankowski 2024-10-01 08:45:58 -04:00 committed by GitHub
parent ec16ed37c3
commit 44071fdbae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View file

@ -15,7 +15,9 @@
%tbody
- @events.each do |event|
%tr
%td= l event.created_at
%td
%time.formatted{ datetime: event.created_at.iso8601, title: l(event.created_at) }
= l(event.created_at)
%td= t("severed_relationships.event_type.#{event.type}", target_name: event.target_name)
- if event.purged?
%td{ rowspan: 2 }= t('severed_relationships.purged')