4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-15 19:55:49 +00:00

added text when no sponsorships

This commit is contained in:
Phillip Lang Martinez 2022-08-17 01:10:08 +03:00
parent c3f3737e42
commit 934bdeada7

View File

@ -441,6 +441,13 @@ class SponsorshipList extends LitElement {
<hr class="divider" /> <hr class="divider" />
</div> </div>
<div class="inner-container"> <div class="inner-container">
${this.sponsorships.length === 0 ? html`
<div class="sub-title">
<p>${translate("sponsorshipspage.schange9")}</p>
</div>
` : ''}
${this.sponsorships.length > 0 ?
html`
<div class="sub-title"> <div class="sub-title">
<p>${translate("sponsorshipspage.schange1")}</p> <p>${translate("sponsorshipspage.schange1")}</p>
</div> </div>
@ -460,7 +467,7 @@ class SponsorshipList extends LitElement {
</div> </div>
</div> </div>
${this.sponsorships.map( ${this.sponsorships.map(
(sponsorship) => html` (sponsorship) => html`
<ul class="tableGrid"> <ul class="tableGrid">
@ -512,8 +519,7 @@ class SponsorshipList extends LitElement {
` `
)} )}
${this.sponsorships.length > 0 ?
html`
<div class="summary-box"> <div class="summary-box">
<p class="text text--bold"> <p class="text text--bold">
${translate("sponsorshipspage.schange3")} = ${translate("sponsorshipspage.schange3")} =