Wrap datetime in time
element with attrs (#32177)
This commit is contained in:
parent
ec16ed37c3
commit
44071fdbae
3 changed files with 9 additions and 3 deletions
|
@ -55,7 +55,10 @@
|
|||
= t("imports.states.#{import.state}")
|
||||
%td
|
||||
#{import.imported_items} / #{import.total_items}
|
||||
%td= l(import.created_at)
|
||||
%td
|
||||
%time.formatted{ datetime: import.created_at.iso8601, title: l(import.created_at) }
|
||||
= l(import.created_at)
|
||||
|
||||
%td
|
||||
- num_failed = import.processed_items - import.imported_items
|
||||
- if num_failed.positive?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue