Jauge offset 62, onglet mensuel renommé, déduction 66% sur boutons libres, champs label noir/vert
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
25fe91ea93
commit
b8048d24f6
5 changed files with 68 additions and 6 deletions
|
|
@ -14,11 +14,13 @@
|
|||
afterTax: 'Soit {amount} € après impôts',
|
||||
perMonth: '€/mois',
|
||||
withTaxReduction: 'Avec 66 % de déduction fiscale',
|
||||
chooseAmount: 'Choisissez votre montant',
|
||||
},
|
||||
en: {
|
||||
afterTax: 'That is {amount} € after tax',
|
||||
perMonth: '€/month',
|
||||
withTaxReduction: 'With 66 % tax deduction',
|
||||
chooseAmount: 'Choose your amount',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -115,6 +117,10 @@
|
|||
window.open(generateDonorboxUrl(amount, false), '_blank');
|
||||
});
|
||||
} else {
|
||||
button.innerHTML = `
|
||||
<p class="bold">${translate('chooseAmount')}</p>
|
||||
<p class="small">${translate('withTaxReduction')}</p>
|
||||
`;
|
||||
button.addEventListener('click', () => {
|
||||
window.open(generateDonorboxUrl(null, false), '_blank');
|
||||
});
|
||||
|
|
@ -144,6 +150,10 @@
|
|||
window.open(generateDonorboxUrl(amount, true), '_blank');
|
||||
});
|
||||
} else {
|
||||
button.innerHTML = `
|
||||
<p class="bold">${translate('chooseAmount')}</p>
|
||||
<p class="small">${translate('withTaxReduction')}</p>
|
||||
`;
|
||||
button.addEventListener('click', () => {
|
||||
window.open(generateDonorboxUrl(null, true), '_blank');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue