web/satellite: change invoice link title to 'Invoice PDF'

Change-Id: I820bb33f4ba88bb732d1c66ba3369ac4eac72f5c
This commit is contained in:
Kaloyan Raev 2020-05-07 18:13:51 +03:00
parent 9837230f1e
commit 2af7138928
2 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@ export class BillingHistoryItem {
return '';
}
const downloadLabel = this.type === BillingHistoryItemType.Transaction ? 'Checkout' : 'PDF';
const downloadLabel = this.type === BillingHistoryItemType.Transaction ? 'Checkout' : 'Invoice PDF';
return `<a class="download-link" target="_blank" href="${this.link}">${downloadLabel}</a>`;
}

View File

@ -14,7 +14,7 @@ exports[`BillingItem renders correctly if charge 1`] = `
</span></b>
<!---->
</p>
<p class="container__item download"><a class="download-link" target="_blank" href="test">PDF</a></p>
<p class="container__item download"><a class="download-link" target="_blank" href="test">Invoice PDF</a></p>
</div>
`;
@ -32,7 +32,7 @@ exports[`BillingItem renders correctly if invoice 1`] = `
</span></b>
<!---->
</p>
<p class="container__item download"><a class="download-link" target="_blank" href="test">PDF</a></p>
<p class="container__item download"><a class="download-link" target="_blank" href="test">Invoice PDF</a></p>
</div>
`;