Ledger: de-hardcode content strings #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of: Ledger Redesign — follow-up to the no-hardcoded-content principle (spec §13)
Goal: Every content-bearing string currently baked into templates must become authorable in Wagtail. Navigation labels, the tagline, empty states, and colophon credits stay as
{% trans %}template chrome.Acceptance (per item):
AttorneysIndexPagegainsengagement_title,engagement_steps(ListBlock 4×{heading 60, text 160}),engagement_footnote,coverage_title,coverage_text— the Docket Sheet rail renders these, falling back to current copy where emptyIndividualsIndexPagegainssort_title,sort_sub,sort_questions(ListBlock 3×{text 120}),sort_footnote,unsure_title,unsure_sub— the Guided Path rail renders theseStepsBlockgains optionalkicker(CharBlock 40) +title(CharBlock 80) — renders with current chrome as fallback when emptyFaqBlockgains optionalkicker(40) +title(80) — same fallback patternHomePagefields with fallbacks (or a small StructBlock; implementer's choice, fields preferred)SiteSettings.blurbmakemigrations --checkcleanNotes: Fallback rendering keeps pages unbroken while content is pending. The promises duplication is already fixed (individuals index renders the homepage
PromisesBlock). Mockup reference copy for the rail strings:.claude/scratch/vatty-mockups/attorneys-1.html,individuals-2.html.