Show order note as tooltip (#965)
This commit is contained in:
parent
503ed6c379
commit
a7a0830d43
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
%td= order.name
|
%td= order.name
|
||||||
%td= format_date(order.pickup) unless order.pickup.nil?
|
%td= format_date(order.pickup) unless order.pickup.nil?
|
||||||
%td= format_time(order.ends) unless order.ends.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),
|
%td= link_to t('.action_end'), finish_order_path(order),
|
||||||
data: {confirm: t('.confirm_end', order: order.name)}, method: :post,
|
data: {confirm: t('.confirm_end', order: order.name)}, method: :post,
|
||||||
class: 'btn btn-small btn-success'
|
class: 'btn btn-small btn-success'
|
||||||
|
|
Loading…
Reference in a new issue