Sha256: 0e86ee01ffc749505a7c01d44f94ac61468838d503a81797c84f6942f66c24b1

Contents?: true

Size: 817 Bytes

Versions: 19

Compression:

Stored size: 817 Bytes

Contents

<script type='text/template' id='variant_autocomplete_template'>
  <div class='variant-autocomplete-item media align-items-center'>
    <figure class='variant-image media-left mb-0 mr-3'>
      {{#if variant.image }}
        <img src='{{variant.image}}' class="thumbnail mb-0" />
      {{ else }}
        <img src='<%= image_path("noimage/mini.png") %>' class="thumbnail mb-0" />
      {{/if}}
    </figure>

    <div class='variant-details media-body'>
      <h5 class="variant-name media-heading h6 mb-0">{{variant.name}}</h5>
      {{#if variant.option_values}}
        {{#each variant.option_values}}
          <strong>{{this.option_type_presentation}}:</strong> {{this.presentation}}<br/>
        {{/each}}
      {{/if}}
      <strong><%= Spree.t(:sku) %>:</strong> {{variant.sku}}
    </div>
  </div>
</script>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
spree_backend-4.0.9 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.8 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.7.1 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.7 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.6 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.5 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.4 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.1.0 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.1.0.rc3 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.1.0.rc2 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.1.0.rc1 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.3 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.2 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.1 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.0 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.0.rc3 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.0.rc2 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.0.rc1 app/views/spree/admin/variants/_autocomplete.js.erb
spree_backend-4.0.0.beta app/views/spree/admin/variants/_autocomplete.js.erb