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 %>
|
<% if appointment.customer %>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_customer, default: "Customer") %></th>
|
<th><%= l(:label_customer) %></th>
|
||||||
<td><%= link_to appointment.customer.name, appointment.customer %></td>
|
<td><%= link_to appointment.customer.name, appointment.customer %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if appointment.vehicle %>
|
<% if appointment.vehicle %>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_vehicle, default: "Vehicle") %></th>
|
<th><%= l(:label_vehicle) %></th>
|
||||||
<td><%= link_to appointment.vehicle.name, appointment.vehicle %></td>
|
<td><%= link_to appointment.vehicle.name, appointment.vehicle %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if appointment.user %>
|
<% if appointment.user %>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_technician, default: "Technician") %></th>
|
<th><%= l(:label_technician) %></th>
|
||||||
<td>
|
<td>
|
||||||
<%= avatar(appointment.user, size: 16) %>
|
<%= avatar(appointment.user, size: 16) %>
|
||||||
<%= link_to appointment.user %>
|
<%= link_to appointment.user %>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
<% if appointment.estimate %>
|
<% if appointment.estimate %>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_estimate, default: "Estimate") %></th>
|
<th><%= l(:label_estimate) %></th>
|
||||||
<td>
|
<td>
|
||||||
<%= link_to "##{appointment.estimate.id}",
|
<%= link_to "##{appointment.estimate.id}",
|
||||||
appointment.estimate %>
|
appointment.estimate %>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<p class="buttons">
|
<p class="buttons">
|
||||||
<%= link_to l(:label_open_appointment, default: "Open Appointment"),
|
<%= link_to l(:label_open_appointment),
|
||||||
customer_appointment_path(appointment),
|
customer_appointment_path(appointment),
|
||||||
class: "icon icon-edit" %>
|
class: "icon icon-edit" %>
|
||||||
</p>
|
</p>
|
||||||
Reference in new issue
Block a user