Sha256: e687366fb55ed7b46b4810d0693d6c222af8e0d9f4e9a7b0af6a38b19d42ab1b

Contents?: true

Size: 2 KB

Versions: 25

Compression:

Stored size: 2 KB

Contents

- objects.each do |meta_tag|
  %tr{ id: "row-#{meta_tag.id}" }
    %td.item-check
      - if can?(MetaTag).destroy_multiple?
        .checkbox
          %label{ for: "checkbox-#{meta_tag.id}" }
            %input{ type: 'checkbox', id: "checkbox-#{meta_tag.id}", 'checklist-model' => 'check', 'checklist-value' => meta_tag.id, 'ng-click' => "selectByCheck(#{objects.size})", '@click' => "listDelete(#{meta_tag.id})" }
            %span.cr
              %i.cr-icon.glyphicon.glyphicon-ok
    %td.hidden-xs.hidden-sm
    %td.hidden-xs.hidden-sm
      = link_to admin_meta_tag_path(meta_tag), title: t('keppler.actions.show') do
        %span= meta_tag.title
    %td.text-overflow{ style: 'max-width: 200px' }
      = link_to admin_meta_tag_path(meta_tag), title: t('keppler.actions.show') do
        %span= meta_tag.url
    %td.dropdown{ style: 'padding-right: 30px;' }
      %a.dropdown-toggle.pull-right{ id: "menu-#{meta_tag.id}", 'aria-expanded' => 'false', 'aria-haspopup' => 'true', 'data-toggle' => 'dropdown' }
        %i.icon-options-vertical
      %ul.actions.dropdown-menu{ 'aria-labelledby' => "menu-#{meta_tag.id}" }
        - if can?(MetaTag).show?
          %li
            = link_to admin_meta_tag_path(meta_tag), title: t('keppler.actions.show') do
              %i.icon-eye
              = t('keppler.actions.show')
        - if can?(MetaTag).update?
          %li
            = link_to edit_admin_meta_tag_path(meta_tag), title: t('keppler.actions.edit') do
              %i.icon-pencil
              = t('keppler.actions.edit')
        - if can?(MetaTag).clone?
          %li
            = link_to admin_meta_tag_clone_path(meta_tag), title: t('keppler.actions.clone') do
              %i.icon-docs
              = t('keppler.actions.clone')
        - if can?(MetaTag).destroy?
          %li
            = link_to admin_meta_tag_path(meta_tag), 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

25 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.21 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.20 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.19 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.18 testing-with-2.1.18/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.18 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.17 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.16 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.15 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.14 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.13 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.12 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.11 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.10 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.9 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.8 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.7 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.6 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.5 installer/core/app/views/admin/meta_tags/_listing.html.haml
keppler-2.1.4 installer/core/app/views/admin/meta_tags/_listing.html.haml