Sha256: 9dabb7daf074d1bc8dee0d9eb915c73df4d66aa1f83f7ca379f382e6c97cc685

Contents?: true

Size: 2 KB

Versions: 20

Compression:

Stored size: 2 KB

Contents

- objects.each do |partial|
  %tr{ id: "row-#{partial.id}" }
    %td.item-check{ style: 'width: 10%' }
      - if can?(KepplerFrontend::Partial).destroy_multiple?
        .checkbox
          %label{ for: "checkbox-#{partial.id}" }
            %input{ type: 'checkbox', id: "checkbox-#{partial.id}", 'checklist-model' => 'check', 'checklist-value' => "#{partial.id}", '@click' => "listDelete(#{partial.id})"}
            %span.cr
              %i.cr-icon.glyphicon.glyphicon-ok
    %td.hidden-xs
      = link_to admin_frontend_partial_path(partial), class: 'new-menu', title: t('keppler.actions.show') do
        %span
          = partial.name
    %td{ style: 'width: 15px;padding-right:15px;' }
      %a.action-btn.pull-right{:id => "menu-#{partial.id}", 'aria-expanded': 'false', 'aria-haspopup': 'true', 'data-toggle': 'dropdown' }
        %i.icon-options-vertical
      %ul.actions.dropdown-menu{ 'aria-labelledby': "menu-#{partial.id}" }
        - if can?(KepplerFrontend::Partial).index?
          %li
            = link_to admin_frontend_partial_path(partial), class: 'new-menu', title: t('keppler.actions.show') do
              %i.icon-screen-desktop
              = t('keppler.actions.editor')
        - if can?(KepplerFrontend::Partial).update?
          %li
            = link_to edit_admin_frontend_partial_path(partial), class: 'new-menu', title: t('keppler.actions.edit') do
              %i.icon-pencil
              = t('keppler.actions.edit')
        - if can?(KepplerFrontend::Partial).clone?
          %li
            = link_to admin_frontend_partial_clone_path(partial), class: 'new-menu', title: t('keppler.actions.clone') do
              %i.icon-docs
              = t('keppler.actions.clone')
        - if can?(KepplerFrontend::Partial).destroy?
          %li
            = link_to admin_frontend_partial_path(partial), class: 'new-menu', title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
              %i.icon-trash
              = t('keppler.actions.delete')

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.12 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.11 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.10 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.9 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.8 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.7 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.6 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.5 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.4 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.3 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.2 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml