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 | 3x | @if (promotion && (promotion.ruleDescription || promotion.legalContentMessage || promotion.externalUrl)) { @if
(promotion.externalUrl && promotion.useExternalUrl) {
<a
class="details-link promotion-details-link"
[href]="promotion.externalUrl"
target="_blank"
rel="nofollow"
[title]="'promotion.detailslink.label' | translate"
>{{ 'promotion.detailslink.text' | translate }}</a
>
} @else {
<!-- details link and dialog -->
<ish-modal-dialog-link
linkText="promotion.detailslink.text"
[options]="{ titleText: 'promotion.detaillist.title' | translate }"
[ngClass]="'details-link promotion-details-link'"
>
@if (promotion.longTitle) {
<!-- eslint-disable-next-line @angular-eslint/template/elements-content -->
<h3 [ishServerHtml]="promotion.longTitle"></h3>
} @else {
<!-- eslint-disable-next-line @angular-eslint/template/elements-content -->
<h3 [ishServerHtml]="promotion.title"></h3>
} @if (promotion.ruleDescription) {
<p [ishServerHtml]="promotion.ruleDescription"></p>
} @if (promotion.legalContentMessage) {
<p class="text-body-secondary" [ishServerHtml]="promotion.legalContentMessage"></p>
} @if (promotion.externalUrl) {
<p>
<a [href]="promotion.externalUrl" rel="nofollow" target="_blank">{{ promotion.externalUrl }}</a>
</p>
}
</ish-modal-dialog-link>
} }
|