An application's Documents page: the uploads' Download links do not say which file they download #516
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#516
Loading…
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?
Found on 2026-09-29 in a read-only review of postulo at
95348908d, reading the document templates against what #276 asked of every per-row action.Checked again on 2026-10-01 against
mainat0a5cad587: still present.#276 (closed) gave per-row actions a hidden suffix naming their row, and on an application's Documents page the rendered-document rows have it (
application_documents.html:45and:48). The "Files you already had" list on the same page was missed: each row draws a bare "Download", so a links list reads "Download, Download, Download" with nothing to tell the CV from the certificate. Related to #276, whose sweep namedupload_list.htmlbut not this page.templates/documents/application_documents.html:88-89; the upload list's version, which is right, istemplates/documents/upload_list.html:50. The sharedtemplates/documents/partials/copies.html:29has the same gap: its "Send to stores now" button repeats on every row of both this page and the upload list, with no row named.<span class="sr-only">: <bdi>{{ document.title }}</bdi></span>after the label inapplication_documents.html:89, asupload_list.html:50does, and the same suffix after "Send to stores now" inpartials/copies.html:29(it already receivesdocument).Done when
tests/test_assistive_names.pyattaches an upload to an application, fetchesdocuments:application_documents, and asserts that the page containsDownload<span class="sr-only">: <bdi>followed by the upload's title.