Initial import
This commit is contained in:
6
app/views/log/_attachment_log_entry.html.haml
Normal file
6
app/views/log/_attachment_log_entry.html.haml
Normal file
@@ -0,0 +1,6 @@
|
||||
= "Anexo " + link_to(h(entry.attachment.file_name), course_attachment_url(@course, entry.attachment))
|
||||
|
||||
= "criado " if entry.kind_of?(AttachmentCreateLogEntry)
|
||||
= "editado " if entry.kind_of?(AttachmentEditLogEntry)
|
||||
= "excluído " if entry.kind_of?(AttachmentDeleteLogEntry)
|
||||
= "restaurado " if entry.kind_of?(AttachmentRestoreLogEntry)
|
||||
Reference in New Issue
Block a user