app/views/admin/logs/_actions.html.haml in effective_logging-1.4.0 vs app/views/admin/logs/_actions.html.haml in effective_logging-1.4.1
- old
+ new
@@ -7,8 +7,11 @@
else
effective_logging.log_path(log)
end
- if log.logs_count.to_i > 0
- = link_to "View (#{log.logs_count} more)".html_safe, show_path
+ = link_to show_path, title: 'View' do
+ %span.glyphicon.glyphicon-eye-open
+ = "(#{log.logs_count})"
- else
- = link_to 'View', show_path
+ = link_to show_path, title: 'View' do
+ %span.glyphicon.glyphicon-eye-open