Sha256: be8da3676ed2229358509d3e7d424afca89b5dc2d6fc175a4716adc2dedaeb9a

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

- pack = form.object
.option-panel.open
  .backgrounds.content-header
  = link_to I18n.t(:product, :count => 2), '#', :class => 'small-icons panel'
  .option-panel-content
    %a#add-product.backgrounds.button.right{ :href => "#" }
      %span.big-icons.add-product
        = I18n.t('pack.products.add').capitalize
    #pack-products.grid_9.sortable
      - pack.products.each do |product|
        .block-container.ui-corner-all
          %span.block-type
            %span.handler
              %span.inner  
            = product.sku
          %span.block-name
            = product.name
            %span.file-size
              \ - 
              = price_with_currency product.price
          = link_to('', '#', :class => 'big-icons gray-destroy')
          = hidden_field_tag("pack[product_ids][]", product.id, :class => 'block-selected')
  .clear
  
#pack-productSelectDialog.media-hoverlay
  .media-hoverlay-header
    = I18n.t('order.product.select').capitalize
    #search.right.files
      = fg_search
    .backgrounds.search-form-files
  .media-hoverlay-sidebar.grid_3.omega.alpha
    .sidebar-content
      %h2{ :class => 'small-icons products'}
        = link_to_function I18n.t('product.all').capitalize, "select_all_elements_without_category()"
      #product-tree.init-tree.a-tree
  .media-hoverlay-content
    %table#table-products.datatable.media.selectable_rows
      %tr
        %td

= dataTables_tag :id => 'table-products', :url => forgeos_commerce.admin_products_path(:format => :json, :mode => 'selection'), :columns => ["{'sClass':'th-checkbox-container th_product_popup','bSearchable':false,'bSortable':false}","{'sTitle':'#{I18n.t(:name)}'}","{'sTitle':'#{I18n.t(:sku)}'}","{'sTitle':'#{I18n.t(:price, :count => 1)}'}","{'sTitle':'#{I18n.t(:stock, :count => 1)}'}","{'sTitle':'#{I18n.t(:product_type, :count => 1)}'}","{ 'bVisible': false}","{ 'bVisible': false}","{ 'bVisible': false}","{ 'bVisible': false}","{ 'bVisible': false}","{ 'bVisible': false}"], :autostart => false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/products/_products_popup.html.haml
forgeos_commerce-1.9.0 app/views/admin/products/_products_popup.html.haml