Sha256: eb2a95c0516b711fae7c5ba86bfdce1e6e5c07d83cfbc2d0bce2254c512651ba

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 Bytes

Contents

<% if current_subject.suggestion.present? %>
  <% content_for :javascript do %>

    $(".suggestions .contact_close").livequery("click",function(){
    temp = $(this);
    $.get("<%=suggestion_contacts_path%>", function(data) {
    temp.parents(".contact").replaceWith(data);
    });

    });

  <% end %>

  <div class="block">
    <div class="header">
      <%= image_tag('btn/notifications.png', :class => "header_icon") %>
      <div class="header_text">
        <%=t('contact.suggestion.one') %>
      </div>
    </div>
    <div class="content">
      <% if (sgs = current_subject.suggestions(2)).present? %>
        <%= render :partial => 'contacts/contact', :collection => sgs %>
      <%end%>
    </div>
  </div>
<%end%>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-base-0.5.1 app/views/contacts/_suggestions.html.erb
social_stream-base-0.5.0 app/views/contacts/_suggestions.html.erb
social_stream-0.4.6 app/views/contacts/_suggestions.html.erb
social_stream-0.4.5 app/views/contacts/_suggestions.html.erb