Sha256: cf17505cc702b6c1ce02f75cc707059da251c83fec344ff1d683719e3c36f88a

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

- show_path = (datatable.admin_namespace? ? effective_trash.admin_trash_path(trash) : effective_trash.trash_path(trash))

- if defined?(EffectiveBootstrap)
  = show_icon_to(show_path)
  = icon_to('repeat', effective_trash.restore_trash_path(trash), title: 'Restore', data: { confirm: 'Restore this item?'})
- else
  = link_to show_path, title: 'view' do
    %span.glyphicon.glyphicon-eye-open

  = link_to effective_trash.restore_trash_path(trash), title: 'Restore', data: {confirm: 'Restore this item?'} do
    %span.glyphicon.glyphicon-retweet

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_trash-0.3.0 app/views/admin/trash/_actions.html.haml