You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
677 B
22 lines
677 B
%h4.title= @course ? h(@course.full_name) : App.title
|
|
%h1.title Mudanças recentes
|
|
|
|
- if @course
|
|
= auto_discovery_link_tag :rss, formatted_course_log_url(@course, :rss)
|
|
|
|
.box
|
|
%table
|
|
%tr
|
|
%th Data
|
|
%th Usuário
|
|
- unless @course
|
|
%th Disciplina
|
|
%th Descrição
|
|
- @log_entries.each do |entry|
|
|
%tr
|
|
%td= tz(entry.created_at).strftime("%d/%m/%y %H:%M:%S")
|
|
%td= link_to truncate(h(entry.user.display_name), 20), user_path(entry.user)
|
|
- unless @course
|
|
%td= link_to h(entry.course.short_name), course_url(entry.course)
|
|
%td= render(:partial => 'log/log_entry', :locals => { :entry => entry })
|