parent
3208d07a89
commit
829797e236
@ -1,3 +1,3 @@
|
|||||||
-# cache(course_path(@course.id, :part => :right)) do
|
-# cache(course_path(@course.id, :part => :right)) do
|
||||||
= render :file => 'widgets/calendario'
|
= render :file => 'widgets/calendario'
|
||||||
= render :file => 'widgets/news'
|
= render :file => 'widgets/users'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
= "Anexo " + link_to(h(entry.attachment.file_name), course_attachment_url(entry.course, entry.attachment))
|
= "criou " if entry.kind_of?(AttachmentCreateLogEntry)
|
||||||
|
= "editou " if entry.kind_of?(AttachmentEditLogEntry)
|
||||||
|
= "excluiu " if entry.kind_of?(AttachmentDeleteLogEntry)
|
||||||
|
= "restaurou " if entry.kind_of?(AttachmentRestoreLogEntry)
|
||||||
|
|
||||||
= "criado " if entry.kind_of?(AttachmentCreateLogEntry)
|
= "o anexo " + link_to(h(entry.attachment.file_name), course_attachment_url(entry.course, entry.attachment))
|
||||||
= "editado " if entry.kind_of?(AttachmentEditLogEntry)
|
|
||||||
= "excluído " if entry.kind_of?(AttachmentDeleteLogEntry)
|
|
||||||
= "restaurado " if entry.kind_of?(AttachmentRestoreLogEntry)
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
= "Evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event, :version => entry.version))
|
= "criou " if entry.kind_of?(EventCreateLogEntry)
|
||||||
|
= "editou " if entry.kind_of?(EventEditLogEntry)
|
||||||
|
= "excluiu " if entry.kind_of?(EventDeleteLogEntry)
|
||||||
|
= "restaurou " if entry.kind_of?(EventRestoreLogEntry)
|
||||||
|
|
||||||
= "criado " if entry.kind_of?(EventCreateLogEntry)
|
= "o evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event, :version => entry.version))
|
||||||
= "editado " if entry.kind_of?(EventEditLogEntry)
|
|
||||||
= "excluído " if entry.kind_of?(EventDeleteLogEntry)
|
|
||||||
= "restaurado " if entry.kind_of?(EventRestoreLogEntry)
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
= "Notícia " + link_to(h(entry.news.title), course_news_instance_url(entry.course, entry.news, :version => entry.version))
|
= "criou " if entry.kind_of?(NewsCreateLogEntry)
|
||||||
|
= "editou " if entry.kind_of?(NewsEditLogEntry)
|
||||||
|
= "excluiu " if entry.kind_of?(NewsDeleteLogEntry)
|
||||||
|
= "restaurou " if entry.kind_of?(NewsRestoreLogEntry)
|
||||||
|
|
||||||
= "criada " if entry.kind_of?(NewsCreateLogEntry)
|
= "a notícia " + link_to(h(entry.news.title), course_news_instance_url(entry.course, entry.news, :version => entry.version))
|
||||||
= "editada " if entry.kind_of?(NewsEditLogEntry)
|
|
||||||
= "excluída " if entry.kind_of?(NewsDeleteLogEntry)
|
|
||||||
= "restaurada " if entry.kind_of?(NewsRestoreLogEntry)
|
|
||||||
|
@ -1 +1,3 @@
|
|||||||
%li= link_to h(user.name), user_path(user)
|
%li
|
||||||
|
%img.avatar{:src => gravatar_url_for(user.email, 27)}
|
||||||
|
= link_to h(user.display_name), user_url(user)
|
||||||
|
After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Reference in new issue