Sha256: d597205b3e124fa5230c4ba63826e3c511419e568ae0236a018a8345045caab7

Contents?: true

Size: 706 Bytes

Versions: 3

Compression:

Stored size: 706 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

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-0.4.4 app/views/ties/_suggestions.html.erb
social_stream-0.4.3 app/views/ties/_suggestions.html.erb
social_stream-0.4.2 app/views/ties/_suggestions.html.erb