diff --git a/website_example/js/common.js b/website_example/js/common.js index 73d8ae9..0e6b052 100644 --- a/website_example/js/common.js +++ b/website_example/js/common.js @@ -2766,6 +2766,7 @@ function home_InitTemplate (parentStats, siblingStats) { var totalFee = parentStats.config.fee; + var soloFee = parentStats.config.soloFee; if (Object.keys(parentStats.config.donation) .length) { var totalDonation = 0; @@ -2773,9 +2774,11 @@ function home_InitTemplate (parentStats, siblingStats) { totalDonation += parentStats.config.donation[i]; } totalFee += totalDonation; + soloFee += totalDonation; } - updateText('poolFee', (totalFee > 0 && totalFee != 100 ? floatToString(totalFee) : (totalFee == 100 ? '100' : '0')) + '%'); + updateText('poolFee', (totalFee > 0 && totalFee != 100 ? floatToString(totalFee) : (totalFee == 100 ? '100' : '0')) + '%/' + soloFee + '%'); + updateText('finderReward', parentStats.config.finderReward + '%'); updateText('paymentsInterval', getReadableTime(parentStats.config.paymentsInterval)); updateText('paymentsMinimum', getReadableCoin(parentStats, parentStats.config.minPaymentThreshold));