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
+3 -1
@@ -28,7 +28,7 @@
<th><%= l(:label_technician, default: "Technician") %></th>
<td>
<%= avatar(appointment.user, size: 16) %>
<%= appointment.user.name %>
<%= link_to appointment.user %>
</td>
</tr>
<% end %>
@@ -55,10 +55,12 @@
<td><%= format_date(appointment.start_date) %></td>
</tr>
<% if appointment.duration > 1 %>
<tr>
<th><%= l(:label_end_date) %></th>
<td><%= format_date(appointment.due_date ) %></td>
</tr>
<% end %>
<tr>
<th><%= l(:label_estimated_hours) %></th>