This repository has been archived on 2022-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wikiufc/app/views/log/index.html.haml
2008-03-11 13:19:29 -03:00

22 lines
677 B
Plaintext

%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 })