Log global

This commit is contained in:
2008-03-11 09:19:02 -03:00
parent 9723722093
commit 835e7c45ab
10 changed files with 48 additions and 21 deletions

View File

@@ -2,4 +2,4 @@
= render(:partial => 'log/event_log_entry.html.haml', :locals => { :entry => entry }) if entry.kind_of?(EventLogEntry)
= render(:partial => 'log/news_log_entry.html.haml', :locals => { :entry => entry }) if entry.kind_of?(NewsLogEntry)
= render(:partial => 'log/wiki_log_entry.html.haml', :locals => { :entry => entry }) if entry.kind_of?(WikiLogEntry)
= "(" + link_to("undo", undo_course_log_url(@course, entry)) + ")" if entry.reversible?
= "(" + link_to("undo", undo_course_log_url(entry.course, entry.id)) + ")" if entry.reversible?