Actions
Defect #43523
openAvatar layout breaks for Initials icon in user import completion page
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
On the user import completion page, the avatar layout in the Login column is broken when the Initials icon is displayed.
This issue occurs because the .avatar.s14 class is not defined.
Since the surrounding text uses a font size of 13px, adjusting the avatar size to 13px fixes the layout problem.
This issue can be fixed with the following changes.
diff --git a/app/views/imports/_users_saved_objects.html.erb b/app/views/imports/_users_saved_objects.html.erb
index efcf7b971..d8954ba10 100644
--- a/app/views/imports/_users_saved_objects.html.erb
+++ b/app/views/imports/_users_saved_objects.html.erb
@@ -12,7 +12,7 @@
<tbody>
<% saved_objects.each do |user| %>
<tr>
- <td><%= avatar(user, :size => "14") %><%= link_to user.login, edit_user_path(user) %></td>
+ <td><%= avatar(user, :size => "13") %> <%= link_to user.login, edit_user_path(user) %></td>
<td><%= user.firstname %></td>
<td><%= user.lastname %></td>
<td><%= mail_to(user.mail) %></td>
| Before change | After change |
|---|---|
![]() |
![]() |
Files
Updated by Katsuya HIDAKA about 2 hours ago
I confirmed that the patch mentioned in the issue description fixes this issue and works as expected. Looks good.
Actions

