accessibility amends misc
This commit is contained in:
+5
-1
@@ -45,7 +45,11 @@ const Error = (props) => {
|
||||
<div className="govuk-width-container govuk-!-padding-bottom-9">
|
||||
<Breadcrumbs />
|
||||
|
||||
<main className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9">
|
||||
<main
|
||||
className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9"
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row ">
|
||||
<div className="govuk-grid-column-two-thirds ">
|
||||
<h1>{t("auth:auth-error-heading")}</h1>
|
||||
|
||||
@@ -33,7 +33,11 @@ const SignIn = (props) => {
|
||||
<Header courseName={t("common:service-name")} />
|
||||
<div className="govuk-width-container govuk-!-padding-bottom-9">
|
||||
<Breadcrumbs />
|
||||
<main className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9">
|
||||
<main
|
||||
className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9"
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row ">
|
||||
<div className="govuk-grid-column-two-thirds ">
|
||||
<h1>{t("auth:auth-page-title")} </h1>
|
||||
|
||||
@@ -26,7 +26,11 @@ const SignIn = (props) => {
|
||||
<div className="govuk-width-container govuk-!-padding-bottom-9">
|
||||
<Breadcrumbs />
|
||||
|
||||
<main className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9">
|
||||
<main
|
||||
className="govuk-main-wrapper govuk-!-padding-top-0 govuk-!-padding-bottom-9"
|
||||
id="main-content"
|
||||
role="main"
|
||||
>
|
||||
<div className="govuk-grid-row ">
|
||||
<div className="govuk-grid-column-two-thirds ">
|
||||
<h1>{t("auth:auth-check-email-page-title")}</h1>
|
||||
|
||||
+12
-7
@@ -88,14 +88,19 @@ const LogOut = (props) => {
|
||||
<div id="page_wrapper">
|
||||
<CookieBanner />
|
||||
<Header courseName="Appeals Casework Portal" />
|
||||
<div className="govuk-width-container">
|
||||
<h2>{t("common:logged-out-title")}</h2>
|
||||
<div className="govuk-!-margin-top-9 govuk-!-margin-bottom-9">
|
||||
<Link href={locale == "cy" ? "/cy" : "/"} legacyBehavior>
|
||||
{t("common:logged-out-link")}
|
||||
</Link>
|
||||
<main>
|
||||
<div className="govuk-width-container">
|
||||
<h1>{t("common:logged-out-title")}</h1>
|
||||
<div className="govuk-!-margin-top-9 govuk-!-margin-bottom-9">
|
||||
<Link
|
||||
href={locale == "cy" ? "/cy" : "/"}
|
||||
legacyBehavior
|
||||
>
|
||||
{t("common:logged-out-link")}
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+3
-22
@@ -264,12 +264,12 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
const [
|
||||
myCasesDetails,
|
||||
watchedCasesDetails,
|
||||
awaitingSubmissionDetails,
|
||||
//awaitingSubmissionDetails,
|
||||
myRepresentationsDetails,
|
||||
] = await Promise.all([
|
||||
await getDetails(myCases, "myCases"),
|
||||
await getDetails(watchedCases, "myWatchedCases"),
|
||||
await getDetails(awaitingSubmission, "awaitingSubmission"),
|
||||
//await getDetails(awaitingSubmission, "awaitingSubmission"),
|
||||
await getDetails(myRepresentations, "myRepresentations"),
|
||||
]);
|
||||
|
||||
@@ -386,25 +386,7 @@ const getDetails = (resultsObj, detailsType) => {
|
||||
|
||||
//console.log(detailsType, " case id : ", caseID);
|
||||
|
||||
if (searchDetail.pinswg_appealcasetype == null) {
|
||||
// console.log(
|
||||
// "detailsObj:",
|
||||
// detailsType,
|
||||
// detailsType == "myCases" && searchDetail.pinswg_title,
|
||||
// detailsType == "myWatchedCases" &&
|
||||
// searchDetail[
|
||||
// "_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
|
||||
// ],
|
||||
// detailsType == "awaitingSubmission" &&
|
||||
// searchDetail.ticketnumber,
|
||||
// detailsType == "myRepresentations" && searchDetail.casereference
|
||||
// );
|
||||
console.log(
|
||||
"=====================================\n",
|
||||
detailsType + "\n",
|
||||
"=====================================\n"
|
||||
);
|
||||
} else {
|
||||
searchDetail.pinswg_appealcasetype != null &&
|
||||
detailsArr.push(
|
||||
getPortalModuleDetails(
|
||||
getFormCollectionByID(searchDetail.pinswg_appealcasetype)
|
||||
@@ -417,7 +399,6 @@ const getDetails = (resultsObj, detailsType) => {
|
||||
// ]
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
let detArr = Promise.all(detailsArr);
|
||||
|
||||
Reference in New Issue
Block a user