Skip to content

Commit

Permalink
Add tooltip to avatar images in "My Tasks" view
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolachr committed Aug 14, 2024
1 parent 03e481e commit afb08e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/tasks/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
<td data-sort="<%= task.board.name %>"><%= task.board.name %></td>
<td data-sort="<%= task.due_date || 'no-due-date' %>"><%= due_date_badge(task) %></td>
<td>
<ul class="p-0">
<ul class="m-0 p-0">
<% task.assignees.each do |assignee| %>
<li><%= avatar_image(assignee, size: 30) %></li>
<li class="d-inline-flex" data-bs-toggle="tooltip" data-bs-placement="top" title="<%= assignee.name %>">
<%= avatar_image(assignee, size: 30) %>
</li>
<% end %>
</ul>
</td>
Expand Down

0 comments on commit afb08e6

Please sign in to comment.