Sha256: 083bf5ad4ae9acddbed7fedfd8833c95e5c260860d9a9a497d84e3a4c1d552b1

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

{{#unless cartItem.hasParent }}
  <dt>
    <ul>
      <li class="name" {{ action "toggleChildren" }}>{{ cartItem.name }}</li>
      <li class="price r-money">¥{{ cartItem.priceString }}x{{ cartItem.quantity }}</li>
      <li class="delete">
        <a href="#" {{ action "deleteRecord" }}>删除</a>
      </li>
    <ul>
  </dt>
  {{#if isChildrenHidden}}
    {{#if cartItem.hasChildren}}
      <dd>
        {{#each cartItem.children }}
          <ul class='child'>
            <li class="name">{{ name }}</li>
            <li class="price r-money">¥{{ priceString }}x{{ quantity }}</li>
          </ul>
        {{/each}}
      </dd>
    {{/if}}
  {{/if}}
{{/unless}}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rightnow_oms-0.1.4 app/assets/javascripts/rightnow_oms/app/templates/cart_items/show.hjs
rightnow_oms-0.1.3 app/assets/javascripts/rightnow_oms/app/templates/cart_items/show.hjs