Sha256: 5696b6efcf5b5ea75cbae04f3d0656b629d72631bac4fac1b1b96effabe228fe

Contents?: true

Size: 873 Bytes

Versions: 227

Compression:

Stored size: 873 Bytes

Contents

<% if params[:pending].present? %>
  <h2><%= t('contact.pending.other') %></h2>
<% else %>
  <h2><%= t('contact.addressbook') %></h2>
<% end %>

<div class="space_center"></div>
<% cont=0; %>

<% @contacts.each do |contact| %>
    <% contact = contact.receiver.subject %>
  <% if (cont%2) == 0 %>
    <% cont+=1; %>
     <div class="row">
  <% end %>

  <div class="label">
    <div class="logo">
      <%= link_to image_tag(contact.logo.url , :size => "50x50", :alt => contact.name), contact %>
    </div>
    <div class="sub-block">
      <div class="name black" >
        <%=link_to(truncate_name(contact.name), contact)%>
      </div>
      <div class="link">
        <%= contact_to(contact) %>
      </div>
    </div>
  </div>
<% end %>

<% if ((cont%2) != 0) 	%>
  <div class="label">
  </div>
		</div>
<% end %>

<div class="row">
  <%= paginate @contacts %>
</div>

Version data entries

227 entries across 227 versions & 4 rubygems

Version Path
social_stream-1.1.12 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.11 app/views/contacts/_index.html.erb
social_stream-1.1.11 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.10 app/views/contacts/_index.html.erb
social_stream-1.1.10 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.9 app/views/contacts/_index.html.erb
social_stream-1.1.9 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.8 app/views/contacts/_index.html.erb
social_stream-1.1.8 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.7 app/views/contacts/_index.html.erb
social_stream-1.1.7 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.6 app/views/contacts/_index.html.erb
social_stream-1.1.6 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.5 app/views/contacts/_index.html.erb
social_stream-1.1.5 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.4 app/views/contacts/_index.html.erb
social_stream-1.1.4 base/app/views/contacts/_index.html.erb
social_stream-1.1.3 base/app/views/contacts/_index.html.erb
social_stream-base-1.1.3 app/views/contacts/_index.html.erb
social_stream-1.1.2 base/app/views/contacts/_index.html.erb