From 877fa52539c2c0e73149974f865c521bf00d81ac Mon Sep 17 00:00:00 2001 From: James Gunn Date: Tue, 28 Nov 2023 13:55:57 +0000 Subject: [PATCH] Add Claim-specific copy to generic error page --- .../Views/Shared/GenericError.cshtml | 6 +++--- .../Views/Shared/_Error.Claim.cshtml | 2 ++ .../Views/Shared/_Error.Default.cshtml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Claim.cshtml create mode 100644 dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Default.cshtml diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/GenericError.cshtml b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/GenericError.cshtml index da4db8899..aac1154bf 100644 --- a/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/GenericError.cshtml +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/GenericError.cshtml @@ -1,10 +1,10 @@ @{ - ViewBag.Title = "Sorry, there is a problem with the service"; + ViewBag.Title = "Sorry, there is a problem with the DfE Identity service"; }
-

Sorry, there is a problem with the service

-

Try again later.

+

@ViewBag.Title

+
diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Claim.cshtml b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Claim.cshtml new file mode 100644 index 000000000..aad468687 --- /dev/null +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Claim.cshtml @@ -0,0 +1,2 @@ +

Try again later if you would like to sign in or set up a DfE Identity account.

+

You can still check if you’re eligible for any additional payments and apply for them.

diff --git a/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Default.cshtml b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Default.cshtml new file mode 100644 index 000000000..c2e616e25 --- /dev/null +++ b/dotnet-authserver/src/TeacherIdentity.AuthServer/Views/Shared/_Error.Default.cshtml @@ -0,0 +1 @@ +

Try again later.