From a7a0830d43f071c8cd01f06706dceeb2ff43471b Mon Sep 17 00:00:00 2001 From: kidhab <32387157+kidhab@users.noreply.github.com> Date: Wed, 29 Mar 2023 15:15:59 +0200 Subject: [PATCH] Show order note as tooltip (#965) --- app/views/orders/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/orders/index.html.haml b/app/views/orders/index.html.haml index 1bd870ad..51b426bc 100644 --- a/app/views/orders/index.html.haml +++ b/app/views/orders/index.html.haml @@ -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'