fix
This commit is contained in:
parent
44d3277318
commit
8eb8e1b1e5
|
@ -40,8 +40,13 @@
|
|||
end
|
||||
end %>
|
||||
<div class="ticket-tag-member tool-tip-parent">
|
||||
<img class="t-avatar <%= !user.nil? && response.read_by.include?(user.id.to_s) ? "read" : "" %>" src="<%= avatar %>" data-avatar-id="<%= user.id.to_s %>">
|
||||
<span class="ticket-tag-member-name tool-tip right"><%= user.name rescue ""%></span>
|
||||
<% if !user.nil? %>
|
||||
<img class="t-avatar <%= response.read_by.include?(user.id.to_s) ? "read" : "" %>" src="<%= avatar %>" data-avatar-id="<%= user.id.to_s %>">
|
||||
<span class="ticket-tag-member-name tool-tip right"><%= user.name rescue ""%></span>
|
||||
<% else %>
|
||||
<img class="t-avatar" src="<%= avatar %>" data-avatar-id="<%= user.id.to_s %>">
|
||||
<span class="ticket-tag-member-name tool-tip right"><%= user.name rescue "Member was deleted"%></span>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue