Controle de versoes para noticias e eventos

This commit is contained in:
2008-03-18 05:34:13 -03:00
parent 4c55ce7b45
commit 104902919b
15 changed files with 84 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
= "Evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event))
= "Evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event, :version => entry.version))
= "criado " if entry.kind_of?(EventCreateLogEntry)
= "editado " if entry.kind_of?(EventEditLogEntry)

View File

@@ -1,4 +1,4 @@
= "Notícia " + link_to(h(entry.news.title), course_news_url(entry.course, entry.news))
= "Notícia " + link_to(h(entry.news.title), course_news_url(entry.course, entry.news, :version => entry.version))
= "criada " if entry.kind_of?(NewsCreateLogEntry)
= "editada " if entry.kind_of?(NewsEditLogEntry)