2018-04-20 02:28:48 +02:00
|
|
|
.log-entry
|
2017-11-24 02:05:53 +01:00
|
|
|
.log-entry__header
|
|
|
|
.log-entry__avatar
|
2017-11-27 16:07:59 +01:00
|
|
|
= image_tag action_log.account.avatar.url(:original), alt: '', width: 40, height: 40, class: 'avatar'
|
2017-11-24 02:05:53 +01:00
|
|
|
.log-entry__content
|
|
|
|
.log-entry__title
|
2024-01-11 10:32:32 +01:00
|
|
|
= t "admin.action_logs.actions.#{action_log.action}_#{action_log.target_type.underscore}_html",
|
|
|
|
name: content_tag(:span, action_log.account.username, class: 'username'),
|
|
|
|
target: content_tag(:span, log_target(action_log), class: 'target')
|
2017-11-24 02:05:53 +01:00
|
|
|
.log-entry__timestamp
|
2019-05-11 06:46:02 +02:00
|
|
|
%time.formatted{ datetime: action_log.created_at.iso8601 }
|