Sha256: 43f9da27d618882442820dd8237221356db82b20b0cbc7796bb2af4540948242

Contents?: true

Size: 382 Bytes

Versions: 19

Compression:

Stored size: 382 Bytes

Contents

:ruby
  show_path =
    if datatable.try(:admin_namespace?)
      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

19 entries across 19 versions & 1 rubygems

Version Path
effective_logging-1.11.5 app/views/admin/logs/_actions.html.haml
effective_logging-1.11.4 app/views/admin/logs/_actions.html.haml
effective_logging-1.11.3 app/views/admin/logs/_actions.html.haml
effective_logging-1.11.2 app/views/admin/logs/_actions.html.haml
effective_logging-1.11.1 app/views/admin/logs/_actions.html.haml
effective_logging-1.11.0 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.18 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.17 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.16 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.15 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.14 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.13 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.12 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.11 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.10 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.9 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.8 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.7 app/views/admin/logs/_actions.html.haml
effective_logging-1.10.6 app/views/admin/logs/_actions.html.haml