web/satellite: change invoice link title to 'Invoice PDF'
Change-Id: I820bb33f4ba88bb732d1c66ba3369ac4eac72f5c
This commit is contained in:
parent
9837230f1e
commit
2af7138928
@ -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>`;
|
||||
}
|
||||
|
@ -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>
|
||||
`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user