Sha256: fb3985910863587e8d930cdcfa4ccc8d9e221b20a1172db2895b59a93e1ac5d9

Contents?: true

Size: 729 Bytes

Versions: 9

Compression:

Stored size: 729 Bytes

Contents

<% @all_contacts =  getChatContacts %>

<div class="users_connected">
  <%@all_contacts.each do |contact| %>
		<% if contact.user.connected %>
		  <div class="user_presence" name='<%=contact.name%>' slug='<%=contact.slug%>' connected='true'>
		<% else %>
		  <div class="user_presence" name='<%=contact.name%>' slug='<%=contact.slug%>' connected='false'>
		<% end %>
        <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") %>
          <% end %>  
        </a>
      </div>
  <%end%>
</div>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
social_stream-0.22.1 presence/app/views/chat/_contacts.html.erb
social_stream-presence-0.8.4 app/views/chat/_contacts.html.erb
social_stream-0.22.0 presence/app/views/chat/_contacts.html.erb
social_stream-presence-0.8.3 app/views/chat/_contacts.html.erb
social_stream-presence-0.8.2 app/views/chat/_contacts.html.erb
social_stream-presence-0.8.0 app/views/chat/_contacts.html.erb
social_stream-0.21.4 presence/app/views/chat/_contacts.html.erb
social_stream-presence-0.7.5 app/views/chat/_contacts.html.erb
social_stream-presence-0.7.4 app/views/chat/_contacts.html.erb