Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIV-9332 remove wording #3617

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1041d41
CIV-9332 remove wording
MMNycz Aug 16, 2023
352de31
yarn audit fix
sabahirfan Aug 16, 2023
321ce2c
Merge branch 'master' into CIV-9332-their-details-screen-changes
MMNycz Aug 17, 2023
5e13dd3
CIV-9330 update claimant-individual-details
MMNycz Aug 30, 2023
dade3e5
Merge branch 'CIV-9332-their-details-screen-changes' of https://githu…
MMNycz Aug 30, 2023
391e0fd
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
94d6fee
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
e973e1a
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
8011868
CIV-9330 update css file
MMNycz Aug 30, 2023
bcfcfa9
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
14a4bb4
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
ca67cfd
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
dadf63d
CIV-9330 important icon
MMNycz Aug 30, 2023
7d609f6
CIV-9330 update correspondent address
MMNycz Aug 30, 2023
192d5f8
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
79f9039
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
3805eb6
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
ab4d524
Update claimant-individual-details.njk
MMNycz Aug 30, 2023
daa285f
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
e7d4d30
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
0d36518
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
4e4ebc1
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
9ba060b
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
bc53038
Update claimant-individual-details.njk
MMNycz Aug 31, 2023
1f0c538
CIV-9340 check and send warning message
MMNycz Aug 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/main/features/claim/views/check-and-send.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
) }}
{{ partyDetailRow('Contact number (optional)', draftClaim.claimant.phone.number, paths.claimantPhonePage.uri) }}
</dl>

<h2 class="govuk-heading-m">{{ t("Their details (defendant)") }}</h2>
<dl class="govuk-summary-list govuk-!-margin-bottom-9">
{{ partyDetail(
Expand Down Expand Up @@ -127,7 +127,7 @@
{% for details in draftClaim.timeline.getPopulatedRowsOnly() %}
{{ partyDetailRow(label = details.date, value = details.description, changeLink = paths.timelinePage.uri) }}
{% endfor %}

{{ partyDetailRow(label = 'Your evidence (optional)', value = '', changeLink = paths.evidencePage.uri) }}

{% for details in draftClaim.evidence.getPopulatedRowsOnly() %}
Expand All @@ -136,6 +136,9 @@

</dl>
<div class="form-group">

<p><span class="icon-important" style=" display: inline-block; width: 35px; height: 35px;"></span><span style="font-weight: bold;"> All details will be shared with the other parties involved in the claim.</span></p>

{{ statementOfTruthUpdated(
form,
statementOfTruthType = SignatureType.CLAIM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

<p>{{ t('These details are shared with the person, business or organisation you are claiming from (the defendant).') }}</p>

<p><span class="icon-important" style=" display: inline-block; width: 35px; height: 35px;"></span><span style="font-weight: bold;">All details will be shared with the other parties involved in the claim.</span></p>

{{
partyDetailsFragment(
form,
Expand Down
2 changes: 1 addition & 1 deletion src/main/views/macro/address.njk
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

{{
radioGroup(
label = t('Would you like correspondence sent to a different address?'),
label = t('Would you like correspondence sent to a different address? All details will be shared with the other parties involved in the claim.'),
name = 'hasCorrespondenceAddress',
options = [
{ label: 'No', value: false },
Expand Down
9 changes: 4 additions & 5 deletions src/main/views/macro/party/details.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

{% if addressSection %}
<h2 class="heading-medium">{{ t(addressSection.heading) }}</h2>
<p>{{ t('If your address is not correct you can change it here. Any changes will be shared with the claimant when you submit your response.') }}</p>
{% if addressSection.hint %}
<p>{{ t(addressSection.hint) }}</p>
{% endif %}
Expand Down Expand Up @@ -118,7 +117,7 @@
{% endmacro %}

{% macro partyDetail(partyDetails, showCorrespondenceAddressSection = true, changeLinks = {}, claim) %}

{% set linkHref = changeLinks.partyDetails or changeLinks.name or changeLinks.contactPerson %}
{{ partyDetailRow('Full name', partyDetails.name, changeLink = linkHref) }}

Expand Down Expand Up @@ -166,7 +165,7 @@
{% if claim and claim.claimData.defendant.phone %}
{{ partyDetailRow('Contact number', partyDetails.phone, changeLink = linkHref) }}
{% endif %}

{% if (partyDetails.type === 'individual' and partyDetails.dateOfBirth and partyDetails.dateOfBirth.date) %}
{{ partyDetailRow('Date of birth', partyDetails.dateOfBirth.date.toMoment() | date, changeLinks.dateOfBirth) }}
{% endif %}
Expand All @@ -185,14 +184,14 @@
{% else %}
{{ t(value) }}
{% endif %}

</dd>
<dd class="govuk-summary-list__actions">
{% if changeLink %}
<a class="govuk-link" href="{{ changeLink}}">{{ t('Change') }} <span class="govuk-visually-hidden">{{ t(label | lower) }}</span></a>
{% endif %}
</dd>
</div>

{% endmacro %}

Loading