2011-10-14 21:45:58 +01:00
|
|
|
= surround '[', ']' do
|
2012-02-07 09:31:07 +00:00
|
|
|
= I18n.t "event_log.controllers.#{el.controller.underscore}", :default => el.controller
|
2011-10-14 21:45:58 +01:00
|
|
|
= I18n.t "event_log.actions.#{el.controller.underscore}.#{el.action}", :default => :"event_log.actions.#{el.action}"
|
2012-04-26 02:38:33 +01:00
|
|
|
- if el.eventable_id.present? and el.eventable_type.present?
|
|
|
|
= I18n.t "activerecord.models.#{el.eventable_type.underscore}"
|
|
|
|
= el.eventable_name
|
|
|
|
= "(id##{el.eventable_id})" # link_to "id##{el.eventable_id}", el.eventable
|
2012-02-07 09:31:07 +00:00
|
|
|
= el.message
|