mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Refactor tooltip labels to remove default text for localization
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user