Sha256: df835ec2ee98709b0238a680b9d9b1638e9c5a54d2a03e943166ab16c32a1ce2

Contents?: true

Size: 1.28 KB

Versions: 20

Compression:

Stored size: 1.28 KB

Contents

- objects.each do |theme|
  %tr{ id: "row-#{theme.id}" }
    %td.item-check{ style: 'width: 10%' }
    %td
      = link_to admin_frontend_theme_show_covers_path(theme), remote: true, class: 'show-row' do
        %span
          = theme.name
    %td.hidden-xs
      %span
        = simple_form_for [:admin, :frontend, theme], url: admin_frontend_theme_path(theme) , method: :patch do |f|
          .check_active{onclick: "installTemplate(#{theme.id})"}
            = f.input :active, as: :keppler_boolean, label: false
    %td
      %span
        %center
          - if can?(KepplerFrontend::Theme).destroy? && !theme.name.eql?('keppler_default') && !theme.active?
            = link_to admin_frontend_theme_path(theme), class: 'new-menu', style: "display: inline", title: t('keppler.actions.delete'), method: :delete, data: { confirm: t('keppler.messages.data_confirm') } do
              %i.icon-trash
          - if can?(KepplerFrontend::Theme).editor? && theme.active?
            = link_to admin_frontend_theme_editor_path(theme), class: 'new-menu', style: "display: inline", title: t('keppler.actions.editor') do
              %i.icon-note

    :javascript
      function installTemplate(customize_id) {
        $('.spinner').css('display', 'block');
        $('#edit_theme_'+customize_id).submit()
      }

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/themes/_listing.html.haml
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.12 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.11 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.10 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.9 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.8 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.7 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.6 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.5 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.4 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.3 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.2 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml