Sha256: 3c91ace0756cd52660bbcebb615ca1e0e76eaf594ae81c7dc43df63a0139927f

Contents?: true

Size: 448 Bytes

Versions: 23

Compression:

Stored size: 448 Bytes

Contents

:ruby
  show_path =
    if datatables_active_admin_path?
      admin_effective_log_path(log)
    elsif datatables_admin_path?
      effective_logging.admin_log_path(log)
    else
      effective_logging.log_path(log)
    end

- if log.logs_count.to_i > 0
  = link_to show_path, title: 'View' do
    %span.glyphicon.glyphicon-eye-open
    = "(#{log.logs_count})"
- else
  = link_to show_path, title: 'View' do
    %span.glyphicon.glyphicon-eye-open

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
effective_logging-1.5.1 app/views/admin/logs/_actions.html.haml
effective_logging-1.5.0 app/views/admin/logs/_actions.html.haml
effective_logging-1.4.1 app/views/admin/logs/_actions.html.haml