Sha256: 52124e5b666bbe894d00d9a13e07d6fdc63cea80ff6f466a855714fdef6dc145

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 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="tie_header">
  <%= image_tag('btn/notifications.png', :class => "tie_icon") %>
  <div class="tie_text_header">
      <%=t('tie.suggestion.one') %>
  </div>
</div>
<div class="suggestions">
  <% if (sgs = current_subject.suggestions(2)).present? %>
    <%= render sgs %>
  <%end%> 
</div>
<%end%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_stream-0.3.6 app/views/ties/_suggestions.html.erb
social_stream-0.3.5 app/views/ties/_suggestions.html.erb
social_stream-0.3.4 app/views/ties/_suggestions.html.erb
social_stream-0.3.3 app/views/ties/_suggestions.html.erb
social_stream-0.3.2 app/views/ties/_suggestions.html.erb
social_stream-0.3.1 app/views/ties/_suggestions.html.erb
social_stream-0.3.0 app/views/ties/_suggestions.html.erb