-
@@ -332,7 +332,7 @@
})
viewer.removeAttribute("src")
- viewerTitle.textContent = "Applicant archive"
+ viewerTitle.textContent = "Application archive"
viewerSubtitle.textContent = message
viewerDownload.hidden = true
viewerDownload.removeAttribute("href")
@@ -466,13 +466,13 @@
const nextArchiveData = new Uint8Array(await file.arrayBuffer())
const entries = unzipSync(nextArchiveData, {
filter(entry) {
- return entry.name === "applicants.csv"
+ return entry.name === "applications.csv"
}
})
- const csvEntry = entries["applicants.csv"]
+ const csvEntry = entries["applications.csv"]
if (csvEntry == null) {
- throw new Error("Archive does not contain applicants.csv")
+ throw new Error("Archive does not contain applications.csv")
}
const text = strFromU8(csvEntry).replace(/^\uFEFF/, "")
@@ -481,7 +481,7 @@
if (text.trim() === "") {
renderApplicants([])
- setStatus("applicants.csv is empty", false)
+ setStatus("applications.csv is empty", false)
return
}
@@ -489,7 +489,7 @@
const [header, ...records] = rows
if (header == null) {
- throw new Error("Unable to parse applicants.csv")
+ throw new Error("Unable to parse applications.csv")
}
const applicants = readApplicants(records.map((row) => Object.fromEntries(header.map((key, index) => [key, row[index] ?? ""]))))
Applicant archive
+Applications archive
Select the ZIP file, then choose a file on the left to preview it here.
Download current file