Sha256: 1c4466c6a2cedf0c577af74b9bfacb805df739ba8841b731cb26d3b879b0fa1e

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

{{#if isNew}}
  <td class="line-item-select-variant" colspan="2">
    <input type="hidden" name="variant_id" class="js-select-variant select-variant fullwidth">
  </td>
{{else}}
  <td class="line-item-image">
    {{> _image image=line_item.variant.images.[0] size="mini" }}
  </td>
  <td class="line-item-name">
    {{ line_item.variant.name }}<br>
    {{#if line_item.variant.options_text }}
      {{ line_item.variant.options_text }}<br/>
    {{/if}}
    <strong>{{ t "sku" }}:</strong> {{ line_item.variant.sku }}
  </td>
{{/if}}
<td class="line-item-price">
  {{ line_item.single_display_amount }}
</td>
{{#if editing}}
  <td class="line-item-qty-edit">
    <input type="number" name="quantity" value="{{ line_item.quantity }}" min="0" class="line_item_quantity" size="5">
  </td>
{{else}}
  <td class="line-item-qty-show">
    {{ line_item.quantity }}
  </td>
{{/if}}
<td class="line-item-total">
  {{ line_item.display_amount }}
</td>
<td class="cart-line-item-delete actions" data-hook="cart_line_item_delete">
  {{#if editing}}
    <a class="save-line-item fa fa-ok no-text with-tip" href="#" title="{{ t "actions.save" }}"></a>
    {{#unless noCancel}}
      <a class="cancel-line-item fa fa-cancel no-text with-tip" href="#" title="{{ t "actions.cancel" }}"></a>
    {{/unless}}
  {{else}}
    <a class="edit-line-item fa fa-edit no-text with-tip" href="#" title="{{ t "actions.edit" }}"></a>
    <a class="delete-line-item fa fa-trash no-text with-tip" href="#" title="{{ t "actions.delete" }}"></a>
  {{/if}}
</td>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-2.4.1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-2.4.0 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-2.4.0.rc1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs
solidus_backend-2.4.0.beta1 app/assets/javascripts/spree/backend/templates/orders/line_item.hbs