All files / src/app/pages/product/product-detail-actions product-detail-actions.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 352x                                                                    
<div class="row product-details-top-line justify-content-end" *ngIf="product$ | async as product">
  <div class="col-lg-12">
    <ul class="share-tools">
      <ng-container *ishFeature="'wishlists'">
        <li *ngIf="configuration$('addToWishlist') | async" [attr.data-testing-id]="'wishlist-' + product.sku">
          <ish-lazy-product-add-to-wishlist displayType="animated" />
        </li>
      </ng-container>
      <ng-container *ishFeature="'compare'">
        <li *ngIf="configuration$('addToCompare') | async" [attr.data-testing-id]="'compare-' + product.sku">
          <ish-lazy-product-send-to-compare />
        </li>
      </ng-container>
 
      <li>
        <a href="javascript:window.print();" class="link-print" rel="nofollow">
          <fa-icon [icon]="['fas', 'print']" />
          <span class="share-label">{{ 'product.print_page.link' | translate }}</span>
        </a>
      </li>
 
      <li>
        <a
          href="mailto:
          ?subject={{ 'email.recommended_product.heading' | translate : { '0': channelName } }}
          &body={{ 'email.recommended_product.text' | translate : { '0': product.name + '%0A', '1': document.URL } }}"
        >
          <fa-icon [icon]="['fas', 'paper-plane']" />
          <span class="share-label">{{ 'product.email_a_friend.link' | translate }}</span>
        </a>
      </li>
    </ul>
  </div>
</div>