fix
This commit is contained in:
parent
44d3277318
commit
8eb8e1b1e5
|
@ -40,8 +40,13 @@
|
||||||
end
|
end
|
||||||
end %>
|
end %>
|
||||||
<div class="ticket-tag-member tool-tip-parent">
|
<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 %>">
|
<% if !user.nil? %>
|
||||||
<span class="ticket-tag-member-name tool-tip right"><%= user.name rescue ""%></span>
|
<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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue