All files / src/app/extensions/wishlists/pages/account-wishlist-detail/account-wishlist-detail-line-item account-wishlist-detail-line-item.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 691x                                                                                                                                        
<ng-container *ishProductContextAccess="let product = product">
  <div class="row" data-testing-id="wishlist-product">
    <div class="col-3 col-md-2 list-item">
      <ish-product-image imageType="S" [link]="true" />
    </div>
    <div class="col-9 col-md-10 list-item column-price">
      <div class="row">
        <div class="col-md-7 text-left">
          <div class="pli-description">
            <ish-product-name />
            <ish-product-id />
            <ish-product-variation-display />
            <ish-product-bundle-display />
            <div class="d-none d-sm-block">
              <span class="col-form-label">{{ 'account.wishlist.table.added_on' | translate }}</span>
              {{ wishlistItemData?.creationDate | ishDate : 'shortDate' }}
            </div>
            <div class="mb-2">
              <button
                type="button"
                class="btn-tool btn-link"
                (click)="moveDialog.show()"
                data-testing-id="move-wishlist"
              >
                <fa-icon
                  [icon]="['fas', 'arrows-alt']"
                  [title]="'account.wishlist.table.options.move_to_another_wishlist' | translate"
                />
              </button>
              <button
                type="button"
                class="btn-tool btn-link"
                (click)="removeProductFromWishlist(wishlistItemData.sku)"
                data-testing-id="delete-wishlist"
              >
                <fa-icon [icon]="['fas', 'trash-alt']" [title]="'account.wishlist.table.options.remove' | translate" />
              </button>
            </div>
          </div>
        </div>
 
        <div class="col-12 col-md-5 product-list-actions-container">
          <ish-product-price />
          <p *ngIf="product.available; else noInStock">
            {{ 'account.wishlist.table.in_stock' | translate }}
          </p>
          <ng-template #noInStock>
            <p>{{ 'account.wishlist.table.not_accessible' | translate }}</p>
          </ng-template>
          <div *ngIf="product.available" class="row">
            <div class="col-6 offset-md-6 col-lg-5 offset-lg-0">
              <ish-product-quantity />
            </div>
            <div class="col-12 col-lg-7 addtocart-container">
              <ish-product-add-to-basket />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
 
  <ish-select-wishlist-modal
    #moveDialog
    addMoveProduct="move"
    (submitEmitter)="moveItemToOtherWishlist(wishlistItemData.sku, $event)"
  />
</ng-container>