1 | <mat-list *ngIf="addons" class="addon-list">
|
2 | <mat-divider></mat-divider>
|
3 | <ng-container *ngFor="let addon of addons">
|
4 | <mat-list-item (click)="onClick(addon.addonId)">
|
5 | <div class="addon-icon-title">
|
6 | <img *ngIf="addon.icon;else noIcon" class="addon-icon" [src]="addon.icon" mat-list-avatar/>
|
7 | <ng-template #noIcon>
|
8 | <mat-icon class="addon-default-icon" mat-list-icon>add_circle</mat-icon>
|
9 | </ng-template>
|
10 | <div class="addon-title-tagline">
|
11 | <p class="addon-title" matLine>{{ addon.title }} </p>
|
12 | <p class="addon-tagline" matLine>{{ addon.tagline }}</p>
|
13 | </div>
|
14 | </div>
|
15 | <div *ngIf="showPricing" class="price-section">
|
16 | <va-pricing
|
17 | [pricing]="getDisplayPricing(addon)"
|
18 | [highlightPrice]="false"
|
19 | [hasVerifiedContract]="_hasVerifiedContract"
|
20 | [billedProduct]="getBilledProduct(addon)"
|
21 | [loaded]="isBilledProductLoaded(addon)">
|
22 | </va-pricing>
|
23 | </div>
|
24 | </mat-list-item>
|
25 | <mat-divider></mat-divider>
|
26 | </ng-container>
|
27 | </mat-list>
|