From 832630c7c767de2405111f4e4957f55d917837c5 Mon Sep 17 00:00:00 2001
From: Elijah Aremu <45821029+elielijah321@users.noreply.github.com>
Date: Mon, 18 Dec 2023 11:17:25 +0000
Subject: [PATCH 1/4] Fix page not found bug
---
.../Pages/Shared/_ProjectListRows.cshtml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
index 8dd06b907..1449f5617 100644
--- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
+++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
@@ -36,7 +36,8 @@
Incoming trust:
- @projectRow.Item.NameOfTrust.ToTitleCase()
+ Empty
+ @projectRow.Item.NameOfTrust
Advisory board date:
From 1286a536f7a0d5214c067d695d611d732e494078 Mon Sep 17 00:00:00 2001
From: Elijah Aremu <45821029+elielijah321@users.noreply.github.com>
Date: Mon, 18 Dec 2023 11:33:37 +0000
Subject: [PATCH 2/4] add is null check for region just incase
---
.../Pages/Shared/_ProjectListRows.cshtml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
index 1449f5617..2f6a49b59 100644
--- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
+++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
@@ -31,8 +31,9 @@
}
- Region:
- @projectRow.Item.Region
+ Region:
+ Empty
+ @projectRow.Item.Region
Incoming trust:
From 06a0619f8d8ede2680a82b71e65d4a6d31db0e64 Mon Sep 17 00:00:00 2001
From: Elijah Aremu <45821029+elielijah321@users.noreply.github.com>
Date: Mon, 18 Dec 2023 12:04:51 +0000
Subject: [PATCH 3/4] fix accidental strongs
---
.../Pages/Shared/_ProjectListRows.cshtml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
index 2f6a49b59..dba40bea5 100644
--- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
+++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
@@ -31,26 +31,26 @@
}
- Region:
- Empty
- @projectRow.Item.Region
+ Region:
+ Empty
+ @projectRow.Item.Region
- Incoming trust:
- Empty
- @projectRow.Item.NameOfTrust
+ Incoming trust:
+ Empty
+ @projectRow.Item.NameOfTrust
- Advisory board date:
+ Advisory board date:
Unconfirmed
- @projectRow.Item.HeadTeacherBoardDate
+ @projectRow.Item.HeadTeacherBoardDate
@if (!isFormAMat)
{
Assigned to:
Unassigned
- @projectRow.Item.AssignedUserFullName
+ @projectRow.Item.AssignedUserFullName
}
From 34dd2c177b915175f1f1b4cc9dd877aaa9f018f8 Mon Sep 17 00:00:00 2001
From: Elijah Aremu <45821029+elielijah321@users.noreply.github.com>
Date: Tue, 19 Dec 2023 15:32:21 +0000
Subject: [PATCH 4/4] Add nullable check for incoming trust
---
.../Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
index dba40bea5..6c179eff4 100644
--- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
+++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/Shared/_ProjectListRows.cshtml
@@ -38,7 +38,7 @@
Incoming trust:
Empty
- @projectRow.Item.NameOfTrust
+ @projectRow.Item.NameOfTrust?.ToTitleCase()
Advisory board date: