exorcise: B12b prose-heavy templates (pages L-Z + small partials)
Sweep 11 prose-heavy templates: pages/{library_locked,project_paywall,
project,purchase,reset_password,stripe_disclaimer,two_factor}.html
and partials/{paywall,suspension_banner,totp_setup,totp_status}.html.
Edits: em-dash in purchase.html platform-fee note replaced with `;`;
ellipsis `Redirecting to Stripe…` swapped for ASCII `...` in project,
project_paywall, and purchase checkout buttons. Other files in this
batch already clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 files changed,
+6 insertions,
-6 deletions
| 202 |
202 |
|
<summary>Have a promo code?</summary>
|
| 203 |
203 |
|
<input type="text" name="promo_code" placeholder="e.g. TRIAL14" class="promo-input">
|
| 204 |
204 |
|
</details>
|
| 205 |
|
- |
<button class="btn-primary" type="submit" data-loading-text="Redirecting to Stripe…">Subscribe</button>
|
|
205 |
+ |
<button class="btn-primary" type="submit" data-loading-text="Redirecting to Stripe...">Subscribe</button>
|
| 206 |
206 |
|
</form>
|
| 207 |
207 |
|
{% else %}
|
| 208 |
208 |
|
<a href="/login" class="btn-primary">Log in to Subscribe</a>
|
| 43 |
43 |
|
{% when crate::pricing::CheckoutType::OneTime %}
|
| 44 |
44 |
|
{% if session_user.is_some() %}
|
| 45 |
45 |
|
<form method="POST" action="/stripe/checkout/project/{{ project.id }}">
|
| 46 |
|
- |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe…">Purchase Access</button>
|
|
46 |
+ |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe...">Purchase Access</button>
|
| 47 |
47 |
|
</form>
|
| 48 |
48 |
|
{% else %}
|
| 49 |
49 |
|
<a href="/login" class="btn-primary">Log in to Purchase</a>
|
| 56 |
56 |
|
<label for="amount">Your price ($)</label>
|
| 57 |
57 |
|
<input type="number" name="amount_cents" id="amount" min="0" step="1" placeholder="0">
|
| 58 |
58 |
|
</div>
|
| 59 |
|
- |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe…">Purchase Access</button>
|
|
59 |
+ |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe...">Purchase Access</button>
|
| 60 |
60 |
|
</form>
|
| 61 |
61 |
|
{% else %}
|
| 62 |
62 |
|
<a href="/login" class="btn-primary">Log in to Purchase</a>
|
| 74 |
74 |
|
{% endif %}
|
| 75 |
75 |
|
{% if session_user.is_some() %}
|
| 76 |
76 |
|
<form method="POST" action="/stripe/subscribe/{{ tier.id }}">
|
| 77 |
|
- |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe…">Subscribe</button>
|
|
77 |
+ |
<button type="submit" class="btn-primary" data-loading-text="Redirecting to Stripe...">Subscribe</button>
|
| 78 |
78 |
|
</form>
|
| 79 |
79 |
|
{% else %}
|
| 80 |
80 |
|
<a href="/login" class="btn-primary button">Log in to Subscribe</a>
|
| 66 |
66 |
|
<span>~${{ creator_receives }}</span>
|
| 67 |
67 |
|
</div>
|
| 68 |
68 |
|
<p class="creator-breakdown-note">
|
| 69 |
|
- |
0% platform fee — only standard payment processing applies.
|
|
69 |
+ |
0% platform fee; only standard payment processing applies.
|
| 70 |
70 |
|
</p>
|
| 71 |
71 |
|
</div>
|
| 72 |
72 |
|
|
| 115 |
115 |
|
Share my email address with the creator
|
| 116 |
116 |
|
</label>
|
| 117 |
117 |
|
</div>
|
| 118 |
|
- |
<button class="btn-primary" type="submit" id="checkout-btn" data-loading-text="Redirecting to Stripe…">Continue to Payment - {% if pwyw_enabled %}${{ suggested_price }}{% else %}{{ item.price }}{% endif %}</button>
|
|
118 |
+ |
<button class="btn-primary" type="submit" id="checkout-btn" data-loading-text="Redirecting to Stripe...">Continue to Payment - {% if pwyw_enabled %}${{ suggested_price }}{% else %}{{ item.price }}{% endif %}</button>
|
| 119 |
119 |
|
</form>
|
| 120 |
120 |
|
<p class="cart-alt-link">
|
| 121 |
121 |
|
or <a href="#" onclick="fetch('/api/cart/{{ item.id }}',{method:'POST',headers:csrfHeaders()}).then(function(r){if(!r.ok)throw new Error('Failed');return r.json()}).then(function(){window.location.href='/cart'}).catch(function(){alert('Could not add to cart. Please try again.')});return false;">add to cart</a> to buy with other items and save the creator on fees
|