update with language resources
This commit is contained in:
@@ -12,11 +12,13 @@ export default function AdvancedSearch() {
|
||||
<div className="card-body">
|
||||
<div class="govuk-body-m ">
|
||||
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
|
||||
<h3 class="govuk-heading-m">Advanced Search</h3>
|
||||
<h3 class="govuk-heading-m">
|
||||
{t("search:advanced-search-title-label")}
|
||||
</h3>
|
||||
</legend>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-line-1">
|
||||
Appellant/Applicant{" "}
|
||||
{t("search:applicant-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input"
|
||||
@@ -28,7 +30,7 @@ export default function AdvancedSearch() {
|
||||
</div>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-town">
|
||||
Other Party{" "}
|
||||
{t("search:other-party-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-!-width-two-thirds"
|
||||
@@ -44,9 +46,10 @@ export default function AdvancedSearch() {
|
||||
role="group"
|
||||
aria-describedby="passport-issued-hint"
|
||||
>
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Hearing/Inquiry Date Calendar View{" "}
|
||||
{t("search:hearing-date-label")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -122,7 +125,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -139,7 +142,7 @@ export default function AdvancedSearch() {
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Hearing/Inquiry Date{" "}
|
||||
{t("search:site-visit-date-label")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -215,7 +218,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -232,7 +235,7 @@ export default function AdvancedSearch() {
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Site Visit Date{" "}
|
||||
{t("search:callin-date-label")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -308,7 +311,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -325,7 +328,7 @@ export default function AdvancedSearch() {
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Call-In Date{" "}
|
||||
{t("search:date-received")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -401,7 +404,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -418,7 +421,7 @@ export default function AdvancedSearch() {
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Date Received{" "}
|
||||
{t("search:start-date-label")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -494,7 +497,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -511,7 +514,7 @@ export default function AdvancedSearch() {
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Start Date{" "}
|
||||
{t("search:decision-date-label")}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
@@ -587,100 +590,7 @@ export default function AdvancedSearch() {
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="govuk-form-group form-inline-label">
|
||||
<fieldset
|
||||
class="govuk-fieldset"
|
||||
role="group"
|
||||
aria-describedby="passport-issued-hint"
|
||||
>
|
||||
{" "}
|
||||
<div className="inlineFieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
|
||||
Decision Date{" "}
|
||||
</legend>
|
||||
<div
|
||||
class="govuk-date-input"
|
||||
id="passport-issued"
|
||||
>
|
||||
<div class="govuk-date-input__item">
|
||||
<div class="govuk-form-group">
|
||||
<label
|
||||
class="govuk-label govuk-date-input__label"
|
||||
for="passport-issued-day"
|
||||
>
|
||||
Day
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-date-input__input govuk-input--width-2"
|
||||
id="passport-issued-day"
|
||||
name="passport-issued-day"
|
||||
type="text"
|
||||
pattern="[0-9]*"
|
||||
inputMode="numeric"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="govuk-date-input__item">
|
||||
<div class="govuk-form-group">
|
||||
<label
|
||||
class="govuk-label govuk-date-input__label"
|
||||
for="passport-issued-month"
|
||||
>
|
||||
Month
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-date-input__input govuk-input--width-2"
|
||||
id="passport-issued-month"
|
||||
name="passport-issued-month"
|
||||
type="text"
|
||||
pattern="[0-9]*"
|
||||
inputMode="numeric"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="govuk-date-input__item">
|
||||
<div class="govuk-form-group">
|
||||
<label
|
||||
class="govuk-label govuk-date-input__label"
|
||||
for="passport-issued-year"
|
||||
>
|
||||
Year
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-date-input__input govuk-input--width-4"
|
||||
id="passport-issued-year"
|
||||
name="passport-issued-year"
|
||||
type="text"
|
||||
pattern="[0-9]*"
|
||||
inputMode="numeric"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="govuk-date-input__item">
|
||||
<div class="govuk-form-group"></div>
|
||||
|
||||
<div class="govuk-checkboxes__item">
|
||||
<input
|
||||
class="govuk-checkboxes__input"
|
||||
id="waste-3"
|
||||
name="waste"
|
||||
type="checkbox"
|
||||
value="farm"
|
||||
/>
|
||||
<label
|
||||
class="govuk-label govuk-checkboxes__label no__right_padding"
|
||||
for="waste-3"
|
||||
>
|
||||
+/- 30 days
|
||||
{t("search:date-margin-label")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -690,26 +600,40 @@ export default function AdvancedSearch() {
|
||||
</div>
|
||||
<div class="govuk-form-group ">
|
||||
<label class="govuk-label" for="sort">
|
||||
Procedure Type
|
||||
{t("search:procedure-type-label")}
|
||||
</label>
|
||||
<select class="govuk-select" id="sort" name="sort">
|
||||
<option value="">-- Select --</option>
|
||||
<option value="Hearing">Hearing</option>
|
||||
<option value="Inquiry">Inquiry</option>
|
||||
<option value="">
|
||||
{t("search:procedure-type-option-1")}
|
||||
</option>
|
||||
<option value="Hearing">
|
||||
{t("search:procedure-type-option-2")}
|
||||
</option>
|
||||
<option value="Inquiry">
|
||||
{t("search:procedure-type-option-3")}
|
||||
</option>
|
||||
<option value="Written representations">
|
||||
Written representations
|
||||
{t("search:procedure-type-option-4")}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="sort">
|
||||
Status Type
|
||||
{t("search:status-label")}
|
||||
</label>
|
||||
<select class="govuk-select" id="sort" name="sort">
|
||||
<option value="">-- Select --</option>
|
||||
<option value="Any">Any</option>
|
||||
<option value="In progress">In progress</option>
|
||||
<option value="Complete">Complete</option>
|
||||
<option value="">
|
||||
{t("search:status-option-1")}
|
||||
</option>
|
||||
<option value="Any">
|
||||
{t("search:status-option-2")}
|
||||
</option>
|
||||
<option value="In progress">
|
||||
{t("search:status-option-3")}
|
||||
</option>
|
||||
<option value="Complete">
|
||||
{t("search:status-option-4")}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,12 +13,12 @@ export default function SearchForCase() {
|
||||
<div class="govuk-body-m ">
|
||||
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
|
||||
<h1 class="govuk-fieldset__heading govuk-heading-m">
|
||||
Search for a case
|
||||
{t("search:search-title-label")}
|
||||
</h1>
|
||||
</legend>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-county">
|
||||
Case Reference (last 7 digits)
|
||||
{t("search:casereference-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-!-width-two-thirds"
|
||||
@@ -29,14 +29,13 @@ export default function SearchForCase() {
|
||||
</div>
|
||||
<fieldset class="govuk-fieldset">
|
||||
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
|
||||
<h3 class="govuk-heading-m">Site Location</h3>
|
||||
<h3 class="govuk-heading-m">
|
||||
{t("search:sitelocation-legend")}
|
||||
</h3>
|
||||
</legend>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-line-1">
|
||||
First Line of Address{" "}
|
||||
<span class="govuk-visually-hidden">
|
||||
line 1 of 2
|
||||
</span>
|
||||
{t("search:address-line-one-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input"
|
||||
@@ -49,7 +48,7 @@ export default function SearchForCase() {
|
||||
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-town">
|
||||
Town/City (nearest)
|
||||
{t("search:town-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-!-width-two-thirds"
|
||||
@@ -62,7 +61,7 @@ export default function SearchForCase() {
|
||||
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-county">
|
||||
County
|
||||
{t("search:county-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-!-width-two-thirds"
|
||||
@@ -74,7 +73,7 @@ export default function SearchForCase() {
|
||||
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-postcode">
|
||||
Postcode
|
||||
{t("search:postcode-label")}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-input--width-10"
|
||||
@@ -87,7 +86,7 @@ export default function SearchForCase() {
|
||||
</fieldset>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-postcode">
|
||||
Local Planning Authority
|
||||
{t("search:lpa-label")}{" "}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-input--width-10"
|
||||
@@ -99,7 +98,7 @@ export default function SearchForCase() {
|
||||
</div>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="address-postcode">
|
||||
LPA Reference Number
|
||||
{t("search:lpa-reference-label")}{" "}
|
||||
</label>
|
||||
<input
|
||||
class="govuk-input govuk-input--width-10"
|
||||
@@ -111,42 +110,44 @@ export default function SearchForCase() {
|
||||
</div>
|
||||
<div class="govuk-form-group">
|
||||
<label class="govuk-label" for="sort">
|
||||
Case Type
|
||||
{t("search:case-type-label")}{" "}
|
||||
</label>
|
||||
<select class="govuk-select" id="sort" name="sort">
|
||||
<option value="">-- Select --</option>
|
||||
<option value="Any/All">Any/All</option>
|
||||
<option value="">
|
||||
{t("search:case-type-option-1")}
|
||||
</option>
|
||||
<option value="Any/All">
|
||||
{t("search:case-type-option-2")}
|
||||
</option>
|
||||
<option value="Advertisement Appeals">
|
||||
Advertisement Appeals
|
||||
{t("search:case-type-option-3")}
|
||||
</option>
|
||||
<option value="Called in Planning Applications">
|
||||
Called in Planning Applications
|
||||
{t("search:case-type-option-4")}
|
||||
</option>
|
||||
<option value="Discontinuance Notice Appeals">
|
||||
Discontinuance Notice Appeals
|
||||
{t("search:case-type-option-5")}
|
||||
</option>
|
||||
<option value="Enforcement Listed Building and Conservation Area Appeals">
|
||||
Enforcement Listed Building and Conservation
|
||||
Area Appeals
|
||||
{t("search:case-type-option-6")}
|
||||
</option>
|
||||
<option value="Enforcement Appeals">
|
||||
Enforcement Appeals
|
||||
{t("search:case-type-option-7")}
|
||||
</option>
|
||||
<option value="Householder Appeals">
|
||||
Householder Appeals
|
||||
{t("search:case-type-option-8")}
|
||||
</option>
|
||||
<option value="Lawful Development Certificate Appeals">
|
||||
Lawful Development Certificate Appeals
|
||||
{t("search:case-type-option-9")}
|
||||
</option>
|
||||
<option value="Planning Appeals">
|
||||
Planning Appeals
|
||||
{t("search:case-type-option-10")}
|
||||
</option>
|
||||
<option value="Planning Obligation Appeals">
|
||||
Planning Obligation Appeals
|
||||
{t("search:case-type-option-11")}
|
||||
</option>
|
||||
<option value="Planning Listed Building and Conservation Area Appeals">
|
||||
Planning Listed Building and Conservation Area
|
||||
Appeals
|
||||
{t("search:case-type-option-12")}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -11,28 +11,31 @@ export default function SearchResults() {
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h1 class="govuk-heading-xl govuk-!-margin-bottom-7">
|
||||
Search for a case
|
||||
{t("search:searchresults-title-label")}
|
||||
</h1>
|
||||
<p className="govuk-body">Your search returned 99 results.</p>
|
||||
<p className="govuk-body">
|
||||
{t("search:searchresults-count-label-part-1")} 99{" "}
|
||||
{t("search:searchresults-count-label-part-2")}
|
||||
</p>
|
||||
<dl class="govuk-summary-list govuk-!-margin-bottom-9">
|
||||
<div class="govuk-summary-list__row results-headings">
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14 results_wider govuk-!-padding-left-2">
|
||||
Case Reference
|
||||
{t("search:searchresults-case-reference-label")}
|
||||
</dd>
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14">
|
||||
Site Address
|
||||
{t("search:searchresults-site-address-label")}
|
||||
</dd>
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14">
|
||||
Appellant/Applicant
|
||||
{t("search:searchresults-applicant-label")}
|
||||
</dd>
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14">
|
||||
Authority
|
||||
{t("search:searchresults-authority-label")}
|
||||
</dd>
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14">
|
||||
Case Type
|
||||
{t("search:searchresults-case-type-label")}
|
||||
</dd>
|
||||
<dd class="govuk-summary-list__key govuk-!-font-size-14">
|
||||
Status
|
||||
{t("search:searchresults-status-label")}
|
||||
</dd>
|
||||
</div>
|
||||
<div class="govuk-summary-list__row">
|
||||
|
||||
Reference in New Issue
Block a user