From 8d4d9238dc5aeaf53c3e5c684dc6f8f5dd05fa17 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 10 Aug 2026 15:06:53 -0400 Subject: [PATCH] Refactor tooltip labels to remove default text for localization --- app/views/customer_appointments/_tooltip.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/customer_appointments/_tooltip.html.erb b/app/views/customer_appointments/_tooltip.html.erb index 5ae112a..64e6758 100644 --- a/app/views/customer_appointments/_tooltip.html.erb +++ b/app/views/customer_appointments/_tooltip.html.erb @@ -18,21 +18,21 @@ <% if appointment.customer %> - <%= l(:label_customer, default: "Customer") %> + <%= l(:label_customer) %> <%= link_to appointment.customer.name, appointment.customer %> <% end %> <% if appointment.vehicle %> - <%= l(:label_vehicle, default: "Vehicle") %> + <%= l(:label_vehicle) %> <%= link_to appointment.vehicle.name, appointment.vehicle %> <% end %> <% if appointment.user %> - <%= l(:label_technician, default: "Technician") %> + <%= l(:label_technician) %> <%= avatar(appointment.user, size: 16) %> <%= link_to appointment.user %> @@ -49,7 +49,7 @@ <% if appointment.estimate %> - <%= l(:label_estimate, default: "Estimate") %> + <%= l(:label_estimate) %> <%= link_to "##{appointment.estimate.id}", appointment.estimate %> @@ -94,7 +94,7 @@

- <%= link_to l(:label_open_appointment, default: "Open Appointment"), + <%= link_to l(:label_open_appointment), customer_appointment_path(appointment), class: "icon icon-edit" %>

\ No newline at end of file