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 | 4x | @if (visible$ | async) { @if (promotions$ | async; as promotions) {
<ul class="promotion-list">
@for (promotion of promotions; track promotion.id) { @if (!promotion.disableMessages) {
<li class="promotion-list-item">
@if (displayType === 'simple' || displayType === 'simpleWithDetail') {
<span class="promotion-short-title" [ishServerHtml]="promotion.title"></span>
@if (displayType === 'simpleWithDetail') {
<ish-promotion-details [promotion]="promotion" />
} } @else { @if (promotion.icon) {
<div class="promotion-icon" [ishServerHtml]="promotion.icon"></div>
} @if (promotion.title) {
<div class="promotion-short-title" [ishServerHtml]="promotion.title"></div>
}
<br />
<div>
@if (promotion.longTitle) {
<span class="promotion-long-title" [ishServerHtml]="promotion.longTitle"></span>
}
<ish-promotion-details [promotion]="promotion" />
</div>
}
</li>
} }
</ul>
} }
|