Show order note as tooltip (#965)

This commit is contained in:
kidhab 2023-03-29 15:15:59 +02:00 committed by GitHub
parent 503ed6c379
commit a7a0830d43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@
%td= order.name
%td= format_date(order.pickup) unless order.pickup.nil?
%td= format_time(order.ends) unless order.ends.nil?
%td= truncate(order.note)
%td= truncate(order.note, length: 25, tooltip: true)
%td= link_to t('.action_end'), finish_order_path(order),
data: {confirm: t('.confirm_end', order: order.name)}, method: :post,
class: 'btn btn-small btn-success'