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
+3
-1
@@ -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>
|
||||||
|
|
||||||
|
<% if appointment.duration > 1 %>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_end_date) %></th>
|
<th><%= l(:label_end_date) %></th>
|
||||||
<td><%= format_date(appointment.due_date ) %></td>
|
<td><%= format_date(appointment.due_date ) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_estimated_hours) %></th>
|
<th><%= l(:label_estimated_hours) %></th>
|
||||||
|
|||||||
Reference in new issue
Block a user