mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Update tooltip to link technician name and conditionally display end date based on duration
This commit is contained in:
1 parent
86533981bc
commit
3e791a64b6
1 file changed
+7
-5
@@ -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>
|
||||
|
||||
<tr>
|
||||
<th><%= l(:label_end_date) %></th>
|
||||
<td><%= format_date(appointment.due_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>
|
||||
|
||||
Reference in new issue
Block a user