diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml
index 48956e406..980f3fb6e 100644
--- a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml
+++ b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml
@@ -60,8 +60,8 @@
@personInfo.Name |
@(personInfo.DateOfBirth.HasValue ? personInfo.DateOfBirth.Value.ToString("dd/MM/yyyy") : string.Empty) |
- @personInfo.Trn |
- @personInfo.NationalInsuranceNumber |
+ @personInfo.Trn |
+ @personInfo.NationalInsuranceNumber |
}
}
diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml.cs b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml.cs
index 5e1f14827..8403d39af 100644
--- a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml.cs
+++ b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/Index.cshtml.cs
@@ -21,8 +21,7 @@ public partial class IndexModel : PageModel
public IndexModel(
TrsLinkGenerator linkGenerator,
- ICrmQueryDispatcher crmQueryDispatcher,
- IConfiguration configuration)
+ ICrmQueryDispatcher crmQueryDispatcher)
{
_linkGenerator = linkGenerator;
_crmQueryDispatcher = crmQueryDispatcher;
diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/PersonDetail/Index.cshtml b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/PersonDetail/Index.cshtml
index ddaf13952..5b0d737bd 100644
--- a/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/PersonDetail/Index.cshtml
+++ b/TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Persons/PersonDetail/Index.cshtml
@@ -31,13 +31,17 @@
@if (Model.Person.PreviousNames.Length > 0)
{
+
+ Previous name(s)
+
+
@for (int i = 0; i < Model.Person.PreviousNames.Length; i++)
{
-
- @(i == 0 ? "Previous name(s)" : string.Empty)
- @Model.Person.PreviousNames[i]
-
+ - @Model.Person.PreviousNames[i]
}
+
+
+
}
Date of birth