mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Refactor appointment tooltip links for customer, vehicle, and estimate to simplify display
This commit is contained in:
1 parent
c656b77b22
commit
adb5344d51
1 file changed
+4
-7
@@ -19,14 +19,14 @@
|
||||
<% if appointment.customer %>
|
||||
<tr>
|
||||
<th><%= l(:label_customer) %></th>
|
||||
<td><%= link_to appointment.customer.name, appointment.customer %></td>
|
||||
<td><%= link_to appointment.customer %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
<% if appointment.vehicle %>
|
||||
<tr>
|
||||
<th><%= l(:label_vehicle) %></th>
|
||||
<td><%= link_to appointment.vehicle.name, appointment.vehicle %></td>
|
||||
<td><%= link_to appointment.vehicle %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
@@ -51,8 +51,7 @@
|
||||
<tr>
|
||||
<th><%= l(:label_estimate) %></th>
|
||||
<td>
|
||||
<%= link_to "##{appointment.estimate.id}",
|
||||
appointment.estimate %>
|
||||
<%= link_to appointment.estimate %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
@@ -94,7 +93,5 @@
|
||||
<hr>
|
||||
|
||||
<p class="buttons">
|
||||
<%= link_to l(:label_open_appointment),
|
||||
customer_appointment_path(appointment),
|
||||
class: "icon icon-edit" %>
|
||||
<%= link_to l(:label_open_appointment), customer_appointment_path(appointment), class: "icon icon-edit" %>
|
||||
</p>
|
||||
Reference in new issue
Block a user