Refactor tooltip labels to remove default text for localization

This commit is contained in:
ricky committed 2026-08-10 15:06:53 -04:00
1 parent 71bd6c787e
commit 8d4d9238dc
1 file changed
+5 -5
@@ -18,21 +18,21 @@
<% if appointment.customer %>
<tr>
<th><%= l(:label_customer, default: "Customer") %></th>
<th><%= l(:label_customer) %></th>
<td><%= link_to appointment.customer.name, appointment.customer %></td>
</tr>
<% end %>
<% if appointment.vehicle %>
<tr>
<th><%= l(:label_vehicle, default: "Vehicle") %></th>
<th><%= l(:label_vehicle) %></th>
<td><%= link_to appointment.vehicle.name, appointment.vehicle %></td>
</tr>
<% end %>
<% if appointment.user %>
<tr>
<th><%= l(:label_technician, default: "Technician") %></th>
<th><%= l(:label_technician) %></th>
<td>
<%= avatar(appointment.user, size: 16) %>
<%= link_to appointment.user %>
@@ -49,7 +49,7 @@
<% if appointment.estimate %>
<tr>
<th><%= l(:label_estimate, default: "Estimate") %></th>
<th><%= l(:label_estimate) %></th>
<td>
<%= link_to "##{appointment.estimate.id}",
appointment.estimate %>
@@ -94,7 +94,7 @@
<hr>
<p class="buttons">
<%= link_to l(:label_open_appointment, default: "Open Appointment"),
<%= link_to l(:label_open_appointment),
customer_appointment_path(appointment),
class: "icon icon-edit" %>
</p>