This commit is contained in:
2023-11-08 13:20:43 +00:00
parent e7afa582ff
commit ef1f773022
74 changed files with 3390 additions and 3540 deletions
+16 -15
View File
@@ -432,12 +432,11 @@ const CaseSummary = (props) => {
: casesObj.reference,
},
}}
className="govuk-button"
>
<a className="govuk-button">
{t(
"case:summary-make-representation-label"
)}
</a>
{t(
"case:summary-make-representation-label"
)}
</Link>
<a
@@ -535,7 +534,7 @@ const CaseSummary = (props) => {
}}
title={t("case:watch-this-case-link")}
>
{t("case:watch-this-case-link")} dd
{t("case:watch-this-case-link")}
</span>
)}
</div>
@@ -624,12 +623,13 @@ const CaseSummary = (props) => {
true ? (
""
) : (
<Link href="/representation">
<a className="govuk-button">
{t(
"case:summary-make-representation-label"
)}
</a>
<Link
href="/representation"
className="govuk-button"
>
{t(
"case:summary-make-representation-label"
)}
</Link>
)}
@@ -996,8 +996,9 @@ const CaseSummary = (props) => {
item.title +
"&lk=1"
}
className=""
>
<a className="">{item.title}</a>
{item.title}
</Link>
</li>
);
@@ -1009,7 +1010,7 @@ const CaseSummary = (props) => {
}
function showReps(startDate, endDate) {
const date = new Date();
let date = new Date();
date = new Date(date.toDateString());
const start = new Date(startDate);
const end = new Date(endDate);
@@ -1018,7 +1019,7 @@ const CaseSummary = (props) => {
}
function showRepsEnded(startDate, endDate) {
const date = new Date();
let date = new Date();
date = new Date(date.toDateString());
const start = new Date(startDate);
const end = new Date(endDate);