portal: budget notice copy — drop the reassurance, button says 'Buy credit packs'
Removes 'nothing else about your account changes' from both the body and the footer; it goes without saying. Button label becomes 'Buy credit packs', and the sentence above it says the same thing so the two do not disagree.
This commit is contained in:
1 parent
d2b6f1551f
commit
6f6957c779
1 file changed
+3
-5
+3
-5
@@ -4041,15 +4041,14 @@ def budget_notice_email(
|
|||||||
subject = "Your Inference Cooperative balance is running low"
|
subject = "Your Inference Cooperative balance is running low"
|
||||||
heading = "Your balance is running low"
|
heading = "Your balance is running low"
|
||||||
lede = (f"You have ${remaining:.2f} of your ${budget:.2f} balance left. When it "
|
lede = (f"You have ${remaining:.2f} of your ${budget:.2f} balance left. When it "
|
||||||
"runs out, chat and API requests stop until you add more. Nothing else "
|
"runs out, chat and API requests stop until you add more.")
|
||||||
"about your account changes.")
|
|
||||||
|
|
||||||
money = f"${remaining:.2f} remaining"
|
money = f"${remaining:.2f} remaining"
|
||||||
text = (
|
text = (
|
||||||
f"Hi {name},\n\n"
|
f"Hi {name},\n\n"
|
||||||
f"{lede}\n\n"
|
f"{lede}\n\n"
|
||||||
f"{money}\n\n"
|
f"{money}\n\n"
|
||||||
"If you'd like to keep going, you can add to your balance here:\n\n"
|
"If you'd like to keep going, you can buy credit packs here:\n\n"
|
||||||
f"{pack_url}\n\n"
|
f"{pack_url}\n\n"
|
||||||
"This is the only notice of its kind you'll get until your balance goes back "
|
"This is the only notice of its kind you'll get until your balance goes back "
|
||||||
"above the line and runs low again. Questions? Reply to this email or write to "
|
"above the line and runs low again. Questions? Reply to this email or write to "
|
||||||
@@ -4074,13 +4073,12 @@ def budget_notice_email(
|
|||||||
<h1 style="margin:0 0 12px;font-size:24px;font-weight:700;color:#2d3327;">{heading}</h1>
|
<h1 style="margin:0 0 12px;font-size:24px;font-weight:700;color:#2d3327;">{heading}</h1>
|
||||||
<p style="margin:0 0 8px;font-size:16px;color:#6b7a62;line-height:1.5;">{lede}</p>
|
<p style="margin:0 0 8px;font-size:16px;color:#6b7a62;line-height:1.5;">{lede}</p>
|
||||||
<p style="margin:0 0 24px;font-size:15px;color:#2d3327;line-height:1.5;"><strong>{money}</strong></p>
|
<p style="margin:0 0 24px;font-size:15px;color:#2d3327;line-height:1.5;"><strong>{money}</strong></p>
|
||||||
<a href="{pack_url}" style="display:inline-block;background:#5b8c5a;color:#ffffff;text-decoration:none;padding:14px 36px;border-radius:999px;font-size:16px;font-weight:600;">Add to your balance</a>
|
<a href="{pack_url}" style="display:inline-block;background:#5b8c5a;color:#ffffff;text-decoration:none;padding:14px 36px;border-radius:999px;font-size:16px;font-weight:600;">Buy credit packs</a>
|
||||||
<p style="margin:28px 0 0;font-size:13px;color:#94a08c;line-height:1.5;">This is the only notice of its kind you'll get until your balance goes back above the line and runs low again.</p>
|
<p style="margin:28px 0 0;font-size:13px;color:#94a08c;line-height:1.5;">This is the only notice of its kind you'll get until your balance goes back above the line and runs low again.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" style="padding-top:24px;font-size:13px;color:#94a08c;line-height:1.6;">
|
<td align="center" style="padding-top:24px;font-size:13px;color:#94a08c;line-height:1.6;">
|
||||||
Nothing else about your account changes.<br>
|
|
||||||
Questions? Reply to this email or write to <a href="mailto:info@inference.coop" style="color:#6b7a62;">info@inference.coop</a>.<br>
|
Questions? Reply to this email or write to <a href="mailto:info@inference.coop" style="color:#6b7a62;">info@inference.coop</a>.<br>
|
||||||
<span style="color:#2d3327;">The Inference Cooperative</span> · inference.coop
|
<span style="color:#2d3327;">The Inference Cooperative</span> · inference.coop
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in new issue
Block a user