From 037549b6073dbb02626dc88a9255616e3977e386 Mon Sep 17 00:00:00 2001 From: Michael Steinacher Date: Tue, 28 Jul 2026 14:07:14 +0100 Subject: [PATCH 1/3] FCRM-6899 Update incorrect text on upload page https://eaflood.atlassian.net/browse/FCRM-6899 Update text on file upload page. From 72abf0f02efea37a6a9b5cb5d9dd29b4f633a907 Mon Sep 17 00:00:00 2001 From: Michael Steinacher Date: Tue, 28 Jul 2026 14:49:09 +0100 Subject: [PATCH 2/3] Updated text to correct text. --- server/views/upload.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/server/views/upload.html b/server/views/upload.html index 9cad50b2..56782eac 100644 --- a/server/views/upload.html +++ b/server/views/upload.html @@ -3,7 +3,7 @@ {% from "file-upload/macro.njk" import govukFileUpload %} {% from "error-summary/macro.njk" import govukErrorSummary %} -{% set pageTitle = 'Upload a prepared site boundary' %} +{% set pageTitle = 'Upload a site boundary' %} {% block content %}
@@ -24,17 +24,22 @@

-

Upload either GeoJSON (.geojson), Geopackage (.gpkg) or Shape files (.zip)

+

You can upload your boundary in any of the following formats:

+ {{ govukFileUpload({ id: "boundary", name: "boundary", accept: ".zip,.geojson,.gpkg", label: { - text: "Upload file" + text: "Upload a file" }, javascript: true }) }} - +
From 14ebe992e52658ad8c0bb093ea24602ca5953c55 Mon Sep 17 00:00:00 2001 From: Michael Steinacher Date: Tue, 28 Jul 2026 14:51:24 +0100 Subject: [PATCH 3/3] Updated tests. --- server/routes/__tests__/upload.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/__tests__/upload.spec.js b/server/routes/__tests__/upload.spec.js index 518a75c3..cba496d4 100644 --- a/server/routes/__tests__/upload.spec.js +++ b/server/routes/__tests__/upload.spec.js @@ -5,7 +5,7 @@ const { submitGetRequest } = require('../../__test-helpers__/server') describe('Upload route', () => { describe('GET', () => { it('should return the upload view', async () => { - await submitGetRequest({ url }, 'Upload a prepared site boundary') + await submitGetRequest({ url }, 'Upload a site boundary') }) }) })