Sha256: b1bb347cc654fd31c406dc4113804cbabd6fd70330f879d83776cf201edf56f5

Contents?: true

Size: 772 Bytes

Versions: 5

Compression:

Stored size: 772 Bytes

Contents

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

    $(".suggestions .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">
      <div class="suggestions">
        <% if (sgs = current_subject.suggestions(2)).present? %>
          <%= render :partial => 'contacts/contact', :collection => sgs %>
        <%end%>
      </div>
    </div>
  </div>
<%end%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
social_stream-base-0.6.3 app/views/contacts/_suggestions.html.erb
social_stream-base-0.6.2 app/views/contacts/_suggestions.html.erb
social_stream-base-0.6.1 app/views/contacts/_suggestions.html.erb
social_stream-base-0.6.0 app/views/contacts/_suggestions.html.erb
social_stream-base-0.5.2 app/views/contacts/_suggestions.html.erb