Sha256: a31debd29f60c257d9d3d8369fca3d960e25f26fa997300a0277dcaadc2ae2ec

Contents?: true

Size: 686 Bytes

Versions: 12

Compression:

Stored size: 686 Bytes

Contents

<% destroy_params ||=  {} %>

<section class="contact" id="<%= dom_id contact %>">
  <div class="avatar">
    <%= link_to(image_tag(contact.receiver.logo.url(:small)), contact.receiver_subject) %>
  </div>

  <div class="data">
    <div class="name">
      <%= link_to(truncate_name(contact.receiver_subject.name), contact.receiver_subject)%>
    </div>

    <div class="info">
      <%= contact_count(contact.receiver) %>
    </div>
  </div>
  <div class="add">
    <%= contact_button(contact) %>
  </div>
  <div class="x">
        <%= link_to 'X', contact_path(contact, destroy_params), method: :delete, remote: true, confirm: t('contact.confirm_delete') %>
      </div>
</section>


Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
social_stream-2.0.4 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.4 app/views/contacts/_contact.html.erb
social_stream-2.0.3 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.3 app/views/contacts/_contact.html.erb
social_stream-2.0.2 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.2 app/views/contacts/_contact.html.erb
social_stream-2.0.1 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.1 app/views/contacts/_contact.html.erb
social_stream-2.0.0 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.0 app/views/contacts/_contact.html.erb
social_stream-2.0.0.beta3 base/app/views/contacts/_contact.html.erb
social_stream-base-2.0.0.beta3 app/views/contacts/_contact.html.erb