Sha256: e7a2b8a312a5c3b5c3204ce7633155492722cde3216bb4f1b413c19654015598

Contents?: true

Size: 569 Bytes

Versions: 7

Compression:

Stored size: 569 Bytes

Contents

<% if current_user.suggestion.present? %>
  <% content_for :javascript do %>
    $(".suggestions .tie_close").livequery("click",function(){
      $(this).parents(".tie").replaceWith("<%= escape_javascript(render(current_user.suggestion))%>");
    });
  <% 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

7 entries across 7 versions & 1 rubygems

Version Path
social_stream-0.1.7 app/views/ties/_suggestions.html.erb
social_stream-0.1.6 app/views/ties/_suggestions.html.erb
social_stream-0.1.5 app/views/ties/_suggestions.html.erb
social_stream-0.1.4 app/views/ties/_suggestions.html.erb
social_stream-0.1.3 app/views/ties/_suggestions.html.erb
social_stream-0.1.2 app/views/ties/_suggestions.html.erb
social_stream-0.1.1 app/views/ties/_suggestions.html.erb