Skip to content

Commit

Permalink
AP-5608: Remove custom interruption styling
Browse files Browse the repository at this point in the history
Remove div with class from start page which is in now deleted interrupt
stylesheet. There are no obvious visual changes after deletion
  • Loading branch information
agoldstone93 committed Jan 6, 2025
1 parent 641eb75 commit 4330a15
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 85 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ $govuk-assets-path: "/";
@import "check-your-answers";
@import "govuk-mods";
@import "helpers";
@import "interruption-panel";
@import "language-switcher";
@import "layout";
@import "long-email-truncation";
Expand Down
63 changes: 0 additions & 63 deletions app/assets/stylesheets/interruption-panel.scss

This file was deleted.

40 changes: 19 additions & 21 deletions app/views/providers/start/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@

<p class="govuk-body"><%= t(".intro") %></p>

<div class="maximize-text-width">
<p class="govuk-body"><%= t(".use_service.list_title") %></p>
<ul class="govuk-list govuk-list--bullet">
<% t(".use_service.list").each do |item| %>
<li><%= item %></li>
<% end %>
<% if Setting.special_childrens_act? && current_provider&.sca_permissions? %>
<li><%= t(".use_service.sca_option") %></li>
<% end %>
</ul>
<p class="govuk-body"><%= t(".use_service.list_title") %></p>
<ul class="govuk-list govuk-list--bullet">
<% t(".use_service.list").each do |item| %>
<li><%= item %></li>
<% end %>
<% if Setting.special_childrens_act? && current_provider&.sca_permissions? %>
<li><%= t(".use_service.sca_option") %></li>
<% end %>
</ul>

<p class="govuk-body"><%= t(".dont_use_service.list_title") %></p>
<ul class="govuk-list govuk-list--bullet">
<% if Setting.linked_applications? %>
<% t(".dont_use_service.linked_applications_list").each do |item| %>
<li><%= item %></li>
<% end %>
<% else t(".dont_use_service.list").each do |item| %>
<li><%= item %></li>
<% end %>
<p class="govuk-body"><%= t(".dont_use_service.list_title") %></p>
<ul class="govuk-list govuk-list--bullet">
<% if Setting.linked_applications? %>
<% t(".dont_use_service.linked_applications_list").each do |item| %>
<li><%= item %></li>
<% end %>
</ul>
</div>
<% else t(".dont_use_service.list").each do |item| %>
<li><%= item %></li>
<% end %>
<% end %>
</ul>

<p class="govuk-body"><%= t(".use_ccms_para_html") %></p>
<p class="govuk-body"><%= t(".progress_saved") %></p>
Expand Down

0 comments on commit 4330a15

Please sign in to comment.