diff --git a/backend/templates/card.html b/backend/templates/card.html index 5ef6a3d..4b79804 100644 --- a/backend/templates/card.html +++ b/backend/templates/card.html @@ -89,13 +89,17 @@ hx-post="/ui/bookmarks/{{.Key}}/chapter" hx-target="[id='card-{{.Key}}']" hx-swap="outerHTML" hx-indicator="[id='card-{{.Key}}']" hx-disabled-elt="input, button"> - {{if .LatestChapter}}
Latest known: {{.DisplayLatest}}
{{end}} + {{/* The field holds your progress; "Latest known" is the published chapter. + Those are different numbers whenever this form is worth opening, so the + label names the field and the latest sits after it as context. */}} +Latest known: {{.DisplayLatest}}
{{end}} {{/* One confirm row per way a series leaves the list. aria-live announces the step to a screen reader, which otherwise gets no word that the tap