From 4587b5cc587aa0fed503c61cc52aa886b795cde5 Mon Sep 17 00:00:00 2001 From: martbost Date: Fri, 23 Oct 2026 07:36:03 -0500 Subject: [PATCH] Campaigns rate strip: login ads show '1,000 cr / 30-day slot' instead of the retired 'Login 100 cr / day' (and the same in the rates line); my.js tag bumped Co-Authored-By: Claude Opus 5.5 --- public/assets/my.js | 4 ++-- public/my.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/assets/my.js b/public/assets/my.js index a4bf64a..7d7cdc2 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1082,14 +1082,14 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str if ($('spendNote')) $('spendNote').textContent = r.inCampaigns ? 'Not counting ' + r.inCampaigns.toLocaleString() + ' credits already set aside for your live campaigns. That budget spends down inside each campaign below. This number only moves when you start, top up or pause a campaign.' : 'This is what is not committed to a campaign. When you start one, its budget moves out of here and spends down inside the campaign.'; - $('spendRates').innerHTML = [['Banner', r.rates.bannerCreditsPerBatch + ' cr / ' + r.rates.bannerBatch + ' views'], ['Text', r.rates.textCreditsPerBatch + ' cr / ' + r.rates.textBatch + ' views'], ['Login', r.rates.loginCreditsPerDay + ' cr / day'], ['Solo', r.rates.soloCostPerRecipient + ' cr / delivery'], ['Featured', (r.rates.featuredPerDay || 40) + ' cr / day'], ['Visit', (r.rates.visitCostPerVisit || 3) + ' cr / visit']].map(x => '' + x[0] + ' ' + x[1] + '').join(''); + $('spendRates').innerHTML = [['Banner', r.rates.bannerCreditsPerBatch + ' cr / ' + r.rates.bannerBatch + ' views'], ['Text', r.rates.textCreditsPerBatch + ' cr / ' + r.rates.textBatch + ' views'], ['Login', Number(r.rates.loginSlotCredits || 1000).toLocaleString() + ' cr / ' + (r.rates.loginSlotDays || 30) + '-day slot'], ['Solo', r.rates.soloCostPerRecipient + ' cr / delivery'], ['Featured', (r.rates.featuredPerDay || 40) + ' cr / day'], ['Visit', (r.rates.visitCostPerVisit || 3) + ' cr / visit']].map(x => '' + x[0] + ' ' + x[1] + '').join(''); } $('rateLine').textContent = 'Available to spend: ' + r.availableCredits.toLocaleString() + ((r.earnedCredits || r.earnedReserved) ? ' (' + r.purchasedCredits.toLocaleString() + ' purchased + ' + (r.earnedCredits || 0) + ' earned' + (r.earnedReserved ? ', ' + r.earnedReserved.toLocaleString() + ' more earned and bonus credits already working inside your live campaigns' : '') + ')' : '') + (r.inCampaigns ? ' · ' + r.inCampaigns.toLocaleString() + ' set aside in live campaigns' : '') + ' credits · rates: banner ' + r.rates.bannerCreditsPerBatch + 'cr/' + r.rates.bannerBatch + ' views, text ' + r.rates.textCreditsPerBatch + 'cr/' + r.rates.textBatch - + ' views, login ' + r.rates.loginCreditsPerDay + 'cr/day, solo ' + + ' views, login ' + Number(r.rates.loginSlotCredits || 1000).toLocaleString() + 'cr per ' + (r.rates.loginSlotDays || 30) + '-day slot, solo ' + (r.rates.soloCostPerRecipient || 5) + 'cr/delivery'; const el = $('campList'); el.innerHTML = ''; diff --git a/public/my.html b/public/my.html index e027fdb..7116217 100644 --- a/public/my.html +++ b/public/my.html @@ -1189,7 +1189,7 @@ - +