Update tooltip to link technician name and conditionally display end date based on duration

This commit is contained in:
ricky committed 2026-08-07 21:26:33 -04:00
1 parent 86533981bc
commit 3e791a64b6
1 file changed
+7 -5
@@ -28,7 +28,7 @@
<th><%= l(:label_technician, default: "Technician") %></th> <th><%= l(:label_technician, default: "Technician") %></th>
<td> <td>
<%= avatar(appointment.user, size: 16) %> <%= avatar(appointment.user, size: 16) %>
<%= appointment.user.name %> <%= link_to appointment.user %>
</td> </td>
</tr> </tr>
<% end %> <% end %>
@@ -55,10 +55,12 @@
<td><%= format_date(appointment.start_date) %></td> <td><%= format_date(appointment.start_date) %></td>
</tr> </tr>
<tr> <% if appointment.duration > 1 %>
<th><%= l(:label_end_date) %></th> <tr>
<td><%= format_date(appointment.due_date ) %></td> <th><%= l(:label_end_date) %></th>
</tr> <td><%= format_date(appointment.due_date ) %></td>
</tr>
<% end %>
<tr> <tr>
<th><%= l(:label_estimated_hours) %></th> <th><%= l(:label_estimated_hours) %></th>