.right = link_to t('.mark_all_as_read'), notifications_read_all_path, :class => 'btn' %h3 = t('.notifications') %ul.stream.notifications - @group_days.each do |day, notes| %li .notification_day_header %span.label = day %ul.notifications_for_day - notes.each do |note| .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"} .content =person_image_link(note.actors.last) .from = notification_message_for(note) .time_notif = time_ago_in_words(note.created_at) = will_paginate @notifications, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer