Skip to content

Commit

Permalink
Merge pull request #1540 from unboxed/fix/conditions-styling
Browse files Browse the repository at this point in the history
Update headings with GDS style
  • Loading branch information
Rhian authored Feb 7, 2024
2 parents c9218b2 + e8e87be commit df68b0a
Show file tree
Hide file tree
Showing 23 changed files with 35 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<hr>
<% for evidence_group in evidence_groups %>
<div class="display-flex align-items-center">
<h3>
<h3 class="govuk-heading-s">
<%= link_to sanitize("#{evidence_group.name} (#{evidence_group.documents.count})<br>#{evidence_group.date_range}"),
new_planning_application_assessment_immunity_detail_path(planning_application) + "#accordion-default-heading-#{evidence_group.id}",
class: "govuk-link govuk-link--no-underline" %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/shared/_error_messages.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if resource.errors.any? %>
<span id="status-error" class="govuk-error-message">
<span class="govuk-visually-hidden">
<h2>
<h2 class="govuk-heading-m">
<%= t("errors.messages.not_saved",
count: resource.errors.count,
resource: resource.class.model_name.human.downcase) %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/unlocks/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Resend unlock instructions - <%= t('page_title') %>
<% end %>

<h2>Resend unlock instructions</h2>
<h2 class="govuk-heading-m">Resend unlock instructions</h2>

<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if @consultation.consultees.present? %>
<h3>Consultation responses</h3>
<h3 class="govuk-heading-s">Consultation responses</h3>
<div class="govuk-accordion" data-module="govuk-accordion" data-remember-expanded="false" id="consultation-responses">
<% @consultation.consultees.each do |consultee| %>
<div class="govuk-accordion__section">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 class="govuk-heading-l"><%= t(".assessment_report") %><h1>
<h1 class="govuk-heading-l"><%= t(".assessment_report") %></h1>
<%= render(
PlanningApplications::Assessment::AssessmentReportComponent.new(
planning_application: @planning_application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h3><%= t(".list_of_who") %><h3>
<h3 class="govuk-heading-s"><%= t(".list_of_who") %></h3>
<table class="govuk-table">
<tbody class="govuk-table__body">
<% consultees.each do |consultee| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
partial: "consultees",
locals: { consultees: @consultation&.consultees }
) %>
<h3><%= t(".summary_of_consultee") %><h3>
<h3 class="govuk-heading-s"><%= t(".summary_of_consultee") %></h3>
<% end %>
<% if assessment_detail == "amenity" || assessment_detail == "publicity_summary" %>
<% if consultation = @planning_application.consultation %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<table class="govuk-table">
<thead class="govuk-table__head">
<h2>Documents provided by applicant</h2>
<h2 class="govuk-heading-m">Documents provided by applicant</h2>
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header govuk-!-width-one-half"></th>
<th scope="col" class="govuk-table__header govuk-!-width-one-half"></th>
Expand Down
2 changes: 1 addition & 1 deletion app/views/public/planning_guides/drawings.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>All drawings must</h2>
<h2 class="govuk-heading-m">All drawings must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/elevations/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your elevations must</h2>
<h2 class="govuk-heading-m">Your elevations must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -27,7 +27,7 @@
<li><strong>Be clearly labelled</strong></li>
<li><strong>Show all sides of the proposal </strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>Materials</strong> labelling any materials that are relevant for the proposed changes
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/elevations/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your elevations must</h2>
<h2 class="govuk-heading-m">Your elevations must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -27,7 +27,7 @@
<li><strong>Be clearly labelled</strong></li>
<li><strong>Show all sides of the proposal </strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>Materials</strong> labelling any materials that are relevant for the proposed changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your floor plans must</h2>
<h2 class="govuk-heading-m">Your floor plans must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your floor plans must</h2>
<h2 class="govuk-heading-m">Your floor plans must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/roof_plans/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your roof plan must</h2>
<h2 class="govuk-heading-m">Your roof plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
</li>
<li><strong>Have a scale bar</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>Materials</strong> labelling any materials that are relevant for the proposed changes
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/roof_plans/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your roof plan must</h2>
<h2 class="govuk-heading-m">Your roof plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
</li>
<li><strong>Have a scale bar</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>Materials</strong> labelling any materials that are relevant for the proposed changes
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/sections/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your sections must</h2>
<h2 class="govuk-heading-m">Your sections must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
</li>
<li><strong>Have a scale bar</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>An off-site datum point</strong> as a point of reference for levels
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/sections/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your sections must</h2>
<h2 class="govuk-heading-m">Your sections must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4
Expand All @@ -26,7 +26,7 @@
<li><strong>Have a scale bar</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should include</h2>
<h2 class="govuk-heading-m">You should include</h2>
<ul>
<li>
<strong>An off-site datum point</strong> as a point of reference for levels
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/site_plans/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your site plan must</h2>
<h2 class="govuk-heading-m">Your site plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:500 or 1:200 at A3 or A4 size
Expand All @@ -27,7 +27,7 @@
<li><strong>Have a unique drawing reference number</strong></li>
<li><strong>Be based on an up-to-date map</strong> or survey</li>
</ul>
<h2>It should include</h2>
<h2 class="govuk-heading-m">It should include</h2>
<ul>
<li>
<strong>Buildings</strong> including outbuildings
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/site_plans/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your site plan must</h2>
<h2 class="govuk-heading-m">Your site plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:500 or 1:200 at A3 or A4 size
Expand All @@ -27,7 +27,7 @@
<li><strong>Have a unique drawing reference number</strong></li>
<li><strong>Be based on an up-to-date map</strong> or survey</li>
</ul>
<h2>It should include</h2>
<h2 class="govuk-heading-m">It should include</h2>
<ul>
<li>
<strong>Buildings</strong> including outbuildings
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/unit_plans/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your unit plan must</h2>
<h2 class="govuk-heading-m">Your unit plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -26,7 +26,7 @@
<li><strong>Show the direction of North</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should show</h2>
<h2 class="govuk-heading-m">You should show</h2>
<ul>
<li>
<strong>Units</strong> Outline and label (if appropriate) the current unit or units
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/unit_plans/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your unit plan must</h2>
<h2 class="govuk-heading-m">Your unit plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -26,7 +26,7 @@
<li><strong>Show the direction of North</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should show</h2>
<h2 class="govuk-heading-m">You should show</h2>
<ul>
<li>
<strong>Units</strong> Outline and label (if appropriate) the current unit or units
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/use_plans/existing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your use plan must</h2>
<h2 class="govuk-heading-m">Your use plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -26,7 +26,7 @@
<li><strong>Show the direction of North</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should show</h2>
<h2 class="govuk-heading-m">You should show</h2>
<ul>
<li>
<strong>Current uses</strong> Outline and label the current uses of the site
Expand Down
4 changes: 2 additions & 2 deletions app/views/public/planning_guides/use_plans/proposed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-body">
<h2>Your use plan must</h2>
<h2 class="govuk-heading-m">Your use plan must</h2>
<ul>
<li>
<strong>Be drawn to scale</strong> Usually 1:100 or 1:50 at A3 or A4 size
Expand All @@ -26,7 +26,7 @@
<li><strong>Show the direction of North</strong></li>
<li><strong>Have a unique drawing reference number</strong></li>
</ul>
<h2>You should show</h2>
<h2 class="govuk-heading-m">You should show</h2>
<ul>
<li>
<strong>Current uses</strong> Outline and label the current uses of the site
Expand Down

0 comments on commit df68b0a

Please sign in to comment.