14759 display logic and welsh translations
This commit is contained in:
@@ -30,7 +30,9 @@ const EventsDetails = (props) => {
|
|||||||
<div className="govuk-grid-row">
|
<div className="govuk-grid-row">
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<h2 className="govuk-heading-m ">Events</h2>
|
<h2 className="govuk-heading-m ">
|
||||||
|
{t("case:event-title")}
|
||||||
|
</h2>
|
||||||
{eventsArr.map(
|
{eventsArr.map(
|
||||||
(item, key) =>
|
(item, key) =>
|
||||||
item.pinswg_eventpublishflag && (
|
item.pinswg_eventpublishflag && (
|
||||||
|
|||||||
@@ -307,8 +307,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-details"
|
href="#case-details"
|
||||||
onClick={() => setWhichTab("case-details")}
|
onClick={() => setWhichTab("case-details")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-details-label")}
|
||||||
Details{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@@ -323,8 +322,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-summary"
|
href="#case-summary"
|
||||||
onClick={() => setWhichTab("case-summary")}
|
onClick={() => setWhichTab("case-summary")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-summary-label")}
|
||||||
Summary{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{((hasValidKey(
|
{((hasValidKey(
|
||||||
@@ -355,8 +353,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-map"
|
href="#case-map"
|
||||||
onClick={() => setWhichTab("case-map")}
|
onClick={() => setWhichTab("case-map")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-map-label")}
|
||||||
Map{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
@@ -376,7 +373,7 @@ const CaseSummary = (props) => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{" "}
|
{" "}
|
||||||
Events{" "}
|
{t("case:summary-tab-events-label")}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
@@ -394,8 +391,7 @@ const CaseSummary = (props) => {
|
|||||||
setWhichTab("case-documents")
|
setWhichTab("case-documents")
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-documents-label")}
|
||||||
Documents{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ const Header = (props) => {
|
|||||||
"/",
|
"/",
|
||||||
"/logout",
|
"/logout",
|
||||||
"/dns",
|
"/dns",
|
||||||
|
"/dns/[developmentName]",
|
||||||
"/dns/application-process",
|
"/dns/application-process",
|
||||||
"/dns/help",
|
"/dns/help",
|
||||||
"/dns/contact-us",
|
"/dns/contact-us",
|
||||||
@@ -47,6 +48,7 @@ const Header = (props) => {
|
|||||||
"/newappeal/[appealtypes]",
|
"/newappeal/[appealtypes]",
|
||||||
"/newappeal",
|
"/newappeal",
|
||||||
"/myportal/dnsapplications",
|
"/myportal/dnsapplications",
|
||||||
|
"/myportal/dns/[developmentName]",
|
||||||
"/myportal/dnsdetails",
|
"/myportal/dnsdetails",
|
||||||
"/myportal/addresssearch",
|
"/myportal/addresssearch",
|
||||||
"/myportal/addresssearchresults",
|
"/myportal/addresssearchresults",
|
||||||
|
|||||||
@@ -349,7 +349,8 @@ const DNSSearchResults = (props) => {
|
|||||||
router.locale == "cy"
|
router.locale == "cy"
|
||||||
? myportal == true
|
? myportal == true
|
||||||
? "/fymhorth/dns"
|
? "/fymhorth/dns"
|
||||||
: "/dns"
|
: "/dns/" +
|
||||||
|
item.ticketnumber
|
||||||
: myportal == true
|
: myportal == true
|
||||||
? "/myportal/dns/" +
|
? "/myportal/dns/" +
|
||||||
item.ticketnumber
|
item.ticketnumber
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"page-title": "Cyfeirnod",
|
"page-title": "Cyfeirnod",
|
||||||
"case-card-title": "Cyfeirnod: APP/B1415/W/20/3271702",
|
"case-card-title": "Cyfeirnod: APP/B1415/W/20/3271702",
|
||||||
|
"summary-tab-details-label": "Manylion",
|
||||||
|
"summary-tab-summary-label": "Crynodeb",
|
||||||
|
"summary-tab-map-label": " Map",
|
||||||
|
"summary-tab-events-label": " Digwyddiadau",
|
||||||
|
"summary-tab-documents-label": "Dogfennau",
|
||||||
"summary-reference-label": "Cyfeirnod",
|
"summary-reference-label": "Cyfeirnod",
|
||||||
"summary-applicant-label": "Apelydd",
|
"summary-applicant-label": "Apelydd",
|
||||||
"summary-applicantonly-label": "Ymgeisydd",
|
"summary-applicantonly-label": "Ymgeisydd",
|
||||||
@@ -103,6 +108,7 @@
|
|||||||
"representation-date-passed-label": "Mae'r cyfnod cyflwyno sylwadau ar gyfer yr apêl hon rhwng {{startDate}} a {{endDate}}",
|
"representation-date-passed-label": "Mae'r cyfnod cyflwyno sylwadau ar gyfer yr apêl hon rhwng {{startDate}} a {{endDate}}",
|
||||||
"representation-date-passed-additional-label": "Gallwch wneud sylw drwy e-bostio,",
|
"representation-date-passed-additional-label": "Gallwch wneud sylw drwy e-bostio,",
|
||||||
"date-raised": "Dyddiad codi",
|
"date-raised": "Dyddiad codi",
|
||||||
|
"event-title": "Digwyddiadau",
|
||||||
"event-name-label": " Enw",
|
"event-name-label": " Enw",
|
||||||
"event-event-name-label": "Enw'r digwyddiad ",
|
"event-event-name-label": "Enw'r digwyddiad ",
|
||||||
"event-address-label": "Cyfeiriad ",
|
"event-address-label": "Cyfeiriad ",
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"page-title": "Reference",
|
"page-title": "Reference",
|
||||||
"case-card-title": "Reference: APP/B1415/W/20/3271702",
|
"case-card-title": "Reference: APP/B1415/W/20/3271702",
|
||||||
|
"summary-tab-details-label": "Details",
|
||||||
|
"summary-tab-summary-label": "Summary",
|
||||||
|
"summary-tab-map-label": "Map",
|
||||||
|
"summary-tab-events-label": "Events",
|
||||||
|
"summary-tab-documents-label": "Documents",
|
||||||
"summary-reference-label": "Reference",
|
"summary-reference-label": "Reference",
|
||||||
"summary-applicant-label": "Appellant",
|
"summary-applicant-label": "Appellant",
|
||||||
"summary-applicantonly-label": "Applicant",
|
"summary-applicantonly-label": "Applicant",
|
||||||
@@ -103,6 +108,7 @@
|
|||||||
"representation-date-passed-label": "The representation period for this appeal is between {{startDate}} and {{endDate}}",
|
"representation-date-passed-label": "The representation period for this appeal is between {{startDate}} and {{endDate}}",
|
||||||
"representation-date-passed-additional-label": "You can make a representation by emailing,",
|
"representation-date-passed-additional-label": "You can make a representation by emailing,",
|
||||||
"date-raised": "Date raised",
|
"date-raised": "Date raised",
|
||||||
|
"event-title": "Events",
|
||||||
"event-name-label": "Name",
|
"event-name-label": "Name",
|
||||||
"event-event-name-label": "Event name",
|
"event-event-name-label": "Event name",
|
||||||
"event-address-label": "Address",
|
"event-address-label": "Address",
|
||||||
|
|||||||
Reference in New Issue
Block a user