%h4.title= @course ? h(@course.full_name) : App.title %h1.title Mudanças recentes -# if @course =# auto_discovery_link_tag :rss, course_log_url(@course.id, :format => :rss) - @log_entries_by_day = @log_entries.group_by { |l| l.created_at.beginning_of_day } .box %ul.log_entries - @log_entries_by_day.each do |day, entries| %h3 =tz(day).strftime("%d de %B de %Y") - entries.each do |entry| %li .date = tz(entry.created_at).strftime("%H:%M") %img.avatar{:src => gravatar_url_for(entry.user.email, 27)} =link_to truncate(h(entry.user.display_name), :length => 20), user_url(entry.user.id) = render(:partial => 'log/log_entry', :locals => { :entry => entry }) %br = "Disciplina " + link_to(h(entry.course.full_name), course_url(entry.course)) = will_paginate @log_entries