Sha256: 9ef82f5867218e08bed447045a791586c609933b4236b7b2024435bf22091a0c

Contents?: true

Size: 597 Bytes

Versions: 4

Compression:

Stored size: 597 Bytes

Contents

<% if current_user.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_user.suggestions(2)).present? %>
    <%= render sgs %>
  <%end%> 
</div>
<%end%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-0.2.3 app/views/ties/_suggestions.html.erb
social_stream-0.2.2 app/views/ties/_suggestions.html.erb
social_stream-0.2.1 app/views/ties/_suggestions.html.erb
social_stream-0.2.0 app/views/ties/_suggestions.html.erb