finalised copy changes as per gel review

This commit is contained in:
2024-10-31 09:48:38 +00:00
parent 0059c13966
commit 2612b5e743
12 changed files with 149 additions and 42 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ import {
let reactPlugin = new ReactPlugin();
let appInsights = new ApplicationInsights({
config: {
connectionString: process.env.NEXT_PUBLIC_APP_INSIGHT,
connectionString:
process.env.APPLICATIONINSIGHTS_CONNECTIONSTRING ||
process.env.NEXT_PUBLIC_APP_INSIGHT,
enableAutoRouteTracking: true,
enableCorsCorrelation: true,
enableRequestHeaderTracking: true,
+42 -1
View File
@@ -504,6 +504,27 @@ const Breadcrumbs = (props) => {
)}
{router.pathname == "/case/[ticketnumber]" && (
<>
<li className="govuk-breadcrumbs__list-item">
<Link
href={
router.locale != "en"
? router.locale +
"/searchresults?q=" +
props.props.search
.searchString
: "/searchresults?q=" +
props.props.search
.searchString
}
onClick={() => {
// spinnerState();
router.back();
}}
className="govuk-breadcrumbs__link"
>
{t("common:breadcrumb-search-results")}
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
{t("common:breadcrumb-case-reference")}:{" "}
{
@@ -628,7 +649,6 @@ const Breadcrumbs = (props) => {
)}
{router.pathname == "/myportal/case/[ticketnumber]" && (
<>
{" "}
<li className="govuk-breadcrumbs__list-item">
<Link
href={
@@ -643,6 +663,27 @@ const Breadcrumbs = (props) => {
{t("common:breadcrumb-my-portal")}
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link
href={
router.locale != "en"
? router.locale +
"/searchresults?q=" +
props.props.search
.searchString
: "/searchresults?q=" +
props.props.search
.searchString
}
onClick={() => {
// spinnerState();
router.back();
}}
className="govuk-breadcrumbs__link"
>
{t("common:breadcrumb-search-results")}
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
{t("common:breadcrumb-case-reference")}:{" "}
{
+1 -1
View File
@@ -148,7 +148,7 @@ const CaseSummary = (props) => {
: props[currentType];
let setCaseDetailsObj =
currentType == "directResultsObj"
? props.searchResultsObj.searchDetailsObj
? props.searchDetailsObj
: props[currentType + "Details"];
var casesObj = {};
+28
View File
@@ -120,11 +120,39 @@ export function Textfield(props) {
</div>
<div className="govuk-body">
<p>{t("newappeal:new-appeal-introduction-paragraph")}</p>
<ul>
<li>
{t(
"newappeal:new-appeal-introduction-paragraph-bullet-one"
)}
</li>
<li>
{t(
"newappeal:new-appeal-introduction-paragraph-bullet-two"
)}
</li>
</ul>
<p>
{t("newappeal:new-appeal-introduction-paragraph-two")}
</p>
<p>
{t(
"newappeal:new-appeal-introduction-warning-paragraph"
)}
</p>
<ul>
<li>
{t(
"newappeal:new-appeal-introduction-warning-bullet-one"
)}
</li>
<li>
{t(
"newappeal:new-appeal-introduction-warning-bullet-two"
)}
</li>
</ul>
</div>
</>
);
+7 -5
View File
@@ -323,11 +323,13 @@ const TopThree = (props) => {
) : (
""
)}
<div className="cardModuleReference">
<b>{t("myportal:date-raised")}:</b>
{" "}
{raisedDate(showTopThreeArr[key].createdon)}
</div>{" "}
{topThreeType != "watchedCases" && (
<div className="cardModuleReference">
<b>{t("myportal:date-raised")}:</b>
{" "}
{raisedDate(showTopThreeArr[key].createdon)}
</div>
)}
{topThreeType == "watchedCases" &&
props.myReps &&
showTopThreeArr[key].pinswg_representationsubmitted !=