Browse Source

added text when no sponsorships

pirate-chain-alphax
Phillip Lang Martinez 2 years ago
parent
commit
934bdeada7
  1. 12
      qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js

12
qortal-ui-plugins/plugins/core/sponsorship-list/sponsorship-list.src.js

@ -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")} =

Loading…
Cancel
Save