<%= t('notification.other') %>

<%= link_to(t('notification.read_all'), update_all_notifications_path(:page => params[:page]), :method => :put, class: 'mark_as_read') %>
<% @notifications.each do |notification|%> <% @notification = notification %> <% read_class = notification.is_unread?(@actor) ? 'unread' : '' %> <%= render :partial => 'notification', :object => notification, :locals => {:read_class => read_class} %> <% end %>
<%= javascript_tag do %> $(function() { SocialStream.Notification.index(); }); <% end %>