Sha256: 7864db99f02cf5751aae7223eab2882c7c09446529005bedebf6fa75991fbbb3

Contents?: true

Size: 705 Bytes

Versions: 2

Compression:

Stored size: 705 Bytes

Contents

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

    $(".suggestions .tie_close").livequery("click",function(){
    temp = $(this);
    $.get("<%=suggestion_ties_path%>", function(data) {
    temp.parents(".tie").replaceWith(data);
    });

    });
  <% end %>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
social_stream-0.4.1 app/views/ties/_suggestions.html.erb
social_stream-0.4.0 app/views/ties/_suggestions.html.erb