-
Notifications
You must be signed in to change notification settings - Fork 15
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
PP-12444 refactor settings layout #4384
Conversation
c6692e1
to
716ffa8
Compare
- add `service-settings-pane` css class to enforce consistent width across all settings views - remove `hint-and-body-width` css class - update base settings layout to include the back link and error summary macros - update existing views to conform with new layout behaviour - refactor email notifications custom paragraph controller to match common code style - fix layout bug where long words would break out of the system messages component - fix layout bug where long task names would cause the task status to jump onto multiple lines - fix controller bug where entering a welsh service name that fails validation would cause the 'remove welsh service name' button to unsuccessfully attempt to remove the english service name
716ffa8
to
40f2af5
Compare
text: "Send payment confirmation emails" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above
hint: { | ||
text: 'Users can choose to enter an email address – if they do, they can receive notifications' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to proper json formatting the indent should be
a: {
b: 'whatever'
}
so lines 41-42 should be indented to the right.
text: 'Users do not have the option to enter an email address – they will not receive notifications' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above
text: 'Users must enter an email address to complete a payment – they can receive notifications' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above
hint: { | ||
text: 'Users can choose to enter an email address – if they do, they can receive notifications' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above
text: "Permission level", | ||
classes: "govuk-fieldset__legend--s" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes
|
||
{{ govukButton({ | ||
text: "Send invitation email" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes
idPrefix: "confirmRemoveUser", | ||
name: "confirmRemoveUser", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes
text: "Are you sure you want to remove " + email + "?", | ||
isPageHeading: true, | ||
classes: "govuk-fieldset__legend--l" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes
text: "They will no longer have access to this service." | ||
}, | ||
items: [ | ||
{ | ||
value: "yes", | ||
text: "Yes", | ||
attributes: {'data-cy': 'yes-radio'} | ||
}, | ||
{ | ||
value: "no", | ||
text: "No", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single quotes
WHAT
service-settings-pane
css class to enforce consistent width across all settings viewshint-and-body-width
css classSCREENS