-
Notifications
You must be signed in to change notification settings - Fork 7
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
AP-5608: Use moj design system interrupt #7553
Open
agoldstone93
wants to merge
14
commits into
main
Choose a base branch
from
ap-5608-use-moj-design-system-interrupt
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d2ba120
AP-5608: Update proceedings_sca interrupt
agoldstone93 e9594f8
AP-5608: Update use_ccms
agoldstone93 bbe2f21
AP-5608: Update contact_providers interrupt
agoldstone93 d1e6ac1
AP-5608: Update dwp non passported interrupt
agoldstone93 e6b99dd
AP-5608: Update assessement results
agoldstone93 59aab12
AP-5608: Update no national insurance page
agoldstone93 72c0866
AP-5608: Update change of names page
agoldstone93 322cc60
AP-5608: Update blocks interrupt page
agoldstone93 0a6f35c
AP-5608: Update non means tested interrupt page
agoldstone93 f46affc
AP-5608: Update check_benefits interrupt page
agoldstone93 4319423
AP-5608: Update page widths to follow designs
agoldstone93 613dfb7
AP-5608: Update confirm dwp non passported widths
agoldstone93 a95e980
AP-5608: Update width for capital assessments
agoldstone93 7f899d7
AP-5608: Remove custom interruption styling
agoldstone93 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(template: :basic) do %> | ||
<h1 class="govuk-heading-l"><%= t(".title") %></h1> | ||
<p><%= t(".they_will_check") %></p> | ||
<% end %> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(template: :basic) do %> | ||
<h1 class="govuk-heading-l moj-interruption-card__heading"><%= t(".title") %></h1> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".they_will_check") %></p> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
app/views/providers/change_of_names_interrupts/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t(".title_html"), column_width: "full", template: :basic) do %> | ||
<%= page_heading(size: "l") %> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t(".title_html"), template: :basic) do %> | ||
<%= page_heading(size: "l", classes: "moj-interruption-card__heading") %> | ||
|
||
<div class="maximize-text-width"> | ||
<p class="govuk-body"><%= t(".paragraph") %></p> | ||
</div> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".paragraph") %></p> | ||
|
||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".change"), providers_legal_aid_application_change_of_names_path, inverse: true, role: "button" %> | ||
<%= govuk_button_link_to t(".applications"), in_progress_providers_legal_aid_applications_path, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".change"), providers_legal_aid_application_change_of_names_path, inverse: true, role: "button" %> | ||
<%= govuk_button_link_to t(".applications"), in_progress_providers_legal_aid_applications_path, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<% result_namespace = @legal_aid_application.applicant_receives_benefit? ? ".positive_result" : ".negative_result" %> | ||
|
||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t("#{result_namespace}.tab_title"), column_width: :full, template: :basic) do %> | ||
<h1 class="govuk-heading-l"> | ||
<%= t("#{result_namespace}.title") %> | ||
</h1> | ||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_check_benefit_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t("#{result_namespace}.tab_title"), template: :basic) do %> | ||
<h1 class="govuk-heading-l moj-interruption-card__heading"><%= t("#{result_namespace}.title") %></h1> | ||
|
||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_check_benefit_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 21 additions & 19 deletions
40
app/views/providers/confirm_non_means_tested_applications/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t(".tab_title"), column_width: :full, template: :basic) do %> | ||
<h1 class="govuk-heading-m govuk-!-padding-bottom-4"> | ||
<% if @legal_aid_application.special_children_act_proceedings? %> | ||
<%= t(".title.sca_proceeding") %> | ||
<% elsif @legal_aid_application.used_delegated_functions? %> | ||
<%= t(".title.under_18_when_delegated_functions_used") %> | ||
<% else %> | ||
<%= t(".title.under_18_now") %> | ||
<% end %> | ||
</h1> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t(".tab_title"), template: :basic) do %> | ||
<h1 class="govuk-heading-l moj-interruption-card__heading"> | ||
<% if @legal_aid_application.special_children_act_proceedings? %> | ||
<%= t(".title.sca_proceeding") %> | ||
<% elsif @legal_aid_application.used_delegated_functions? %> | ||
<%= t(".title.under_18_when_delegated_functions_used") %> | ||
<% else %> | ||
<%= t(".title.under_18_now") %> | ||
<% end %> | ||
</h1> | ||
|
||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_confirm_non_means_tested_applications_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_confirm_non_means_tested_applications_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t(".title_html"), column_width: "full", template: :basic) do %> | ||
<%= page_heading(size: "l") %> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t(".title_html"), template: :basic) do %> | ||
<%= page_heading(size: "l", classes: "moj-interruption-card__heading") %> | ||
|
||
<div class="maximize-text-width"> | ||
<p class="govuk-body"><%= t(".body_text") %></p> | ||
<p class="govuk-body"><%= t(".options") %></p> | ||
<ul class="govuk-list govuk-list--bullet"> | ||
<% t(".option_bullets").each do |bullet| %> | ||
<li><%= bullet %></li> | ||
<% end %> | ||
</ul> | ||
</div> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".body_text") %></p> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".options") %></p> | ||
|
||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".applications"), submitted_providers_legal_aid_applications_path, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
<%= govuk_list t(".option_bullets"), type: :bullet, classes: "moj-interruption-card__body" %> | ||
|
||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".applications"), submitted_providers_legal_aid_applications_path, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> |
28 changes: 15 additions & 13 deletions
28
app/views/providers/no_national_insurance_numbers/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t(".tab_title"), column_width: :full, template: :basic) do %> | ||
<h1 class="govuk-heading-m govuk-!-padding-bottom-4"> | ||
<%= t(".title") %> | ||
</h1> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t(".tab_title"), template: :basic) do %> | ||
<h1 class="govuk-heading-l moj-interruption-card__heading"><%= t(".title") %></h1> | ||
|
||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_no_national_insurance_number_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".body") %></p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume you checked this split with design? |
||
|
||
<%= next_action_buttons_with_form( | ||
url: providers_legal_aid_application_no_national_insurance_number_path, | ||
method: :patch, | ||
show_draft: true, | ||
inverse_continue: true, | ||
continue_button_text: t("generic.continue"), | ||
) %> | ||
<% end %> | ||
</div> | ||
</div> |
24 changes: 12 additions & 12 deletions
24
app/views/providers/proceedings_sca/interrupts/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<div class="interruption-panel"> | ||
<%= page_template(page_title: t(".#{@type}.title_html"), column_width: "full", template: :basic) do %> | ||
<%= page_heading(size: "l") %> | ||
<div class="moj-interruption-card"> | ||
<div class="moj-interruption-card__content"> | ||
<%= page_template(page_title: t(".#{@type}.title_html"), template: :basic) do %> | ||
<%= page_heading(size: "l", classes: "moj-interruption-card__heading") %> | ||
|
||
<div class="maximize-text-width"> | ||
<% if I18n.exists?("providers.proceedings_sca.interrupts.show.#{@type}.paragraph") %> | ||
<p class="govuk-body"><%= t(".#{@type}.paragraph") %></p> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".#{@type}.paragraph") %></p> | ||
<% end %> | ||
<p class="govuk-body"><%= t(".#{@type}.options") %></p> | ||
<%= govuk_list t(".#{@type}.option_bullets_html"), type: :bullet %> | ||
</div> | ||
<p class="govuk-body moj-interruption-card__body"><%= t(".#{@type}.options") %></p> | ||
<%= govuk_list t(".#{@type}.option_bullets_html"), type: :bullet, classes: "moj-interruption-card__body" %> | ||
|
||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".#{@type}.proceedings"), providers_legal_aid_application_sca_interrupt_path(@legal_aid_application, @type), method: :delete, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
<div class='govuk-button-group'> | ||
<%= govuk_button_link_to t(".#{@type}.proceedings"), providers_legal_aid_application_sca_interrupt_path(@legal_aid_application, @type), method: :delete, inverse: true, role: "button" %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Missing blank line at end?