presence/app/views/chat/_contacts.html.erb in social_stream-0.21.0 vs presence/app/views/chat/_contacts.html.erb in social_stream-0.21.1
- old
+ new
@@ -28,10 +28,18 @@
<div class="allContacts">
<select data-placeholder="Search Contact" id="search_chat_contact" class="flexselect">
<option value=""></option>
<% unless @all_contacts.empty? %>
<%@all_contacts.each do |contact| %>
- <option value="<%=contact.slug%>"><%=contact.name%></option>
+ <option value="<%=contact.slug%>">
+ <%=contact.name%>
+ <a title='<%=contact.name%>' class="presence_user_link" width="28">
+ <%=image_tag(contact.logo.url, :alt => contact.name , :size => "28x28")%>
+ <% if contact.user.status %>
+ <%=image_tag("status/" + contact.user.status + ".png", :class => "presence_status") %></a>
+ <% end %>
+ </a>
+ </option>
<% end %>
<% else %>
<option value="ZERO_CONTACTS"> <%=t('chat.zerocontacts')%></option>
<% end %>
</select>
\ No newline at end of file