app/views/effective/logs/_log.html.haml in effective_logging-1.2.6 vs app/views/effective/logs/_log.html.haml in effective_logging-1.3.0
- old
+ new
@@ -14,10 +14,12 @@
.col-lg-6
%span.label{:class => "label-#{bootstrap_class_for_status(log.status)}"}= log.status
= log.created_at.strftime("%Y-%m-%d %H:%M:%S")
= '(' + time_ago_in_words(log.created_at) + ' ago)'
+ %br
+ %br
.col-lg-6
- if log.user.present?
%strong User:
@@ -33,13 +35,12 @@
- log.details.each do |key, value|
- next unless value.present?
.row
.col-lg-12
- %br
%p
%strong= "#{key.to_s.titleize}:"
- = format_log_details_value(value)
+ = format_log_details_value(log, key)
- if log.logs.present?
.row
.col-lg-12
%br