diff --git a/app/views/customer_appointments/_tooltip.html.erb b/app/views/customer_appointments/_tooltip.html.erb index b77350a..50e1467 100644 --- a/app/views/customer_appointments/_tooltip.html.erb +++ b/app/views/customer_appointments/_tooltip.html.erb @@ -28,7 +28,7 @@ <%= l(:label_technician, default: "Technician") %> <%= avatar(appointment.user, size: 16) %> - <%= appointment.user.name %> + <%= link_to appointment.user %> <% end %> @@ -55,10 +55,12 @@ <%= format_date(appointment.start_date) %> - - <%= l(:label_end_date) %> - <%= format_date(appointment.due_date ) %> - + <% if appointment.duration > 1 %> + + <%= l(:label_end_date) %> + <%= format_date(appointment.due_date ) %> + + <% end %> <%= l(:label_estimated_hours) %>