diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 7ad79ca9..35744a6e 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -4,7 +4,6 @@ $govuk-font-family: open-sans, sans-serif; @import "accessible-autocomplete/dist/accessible-autocomplete.min"; @import "components/buttons"; @import "components/flashes"; -@import "task-list"; .image-border { width: 276px; @@ -30,3 +29,13 @@ $govuk-font-family: open-sans, sans-serif; .govuk-tag { max-width: none; } + +.govuk-list--number ::marker { + font-weight: bold; +} + +.skip-to-content-link { + left: 50%; + position: absolute; + transform: translateY(-100%); +} diff --git a/app/assets/stylesheets/task-list.scss b/app/assets/stylesheets/task-list.scss deleted file mode 100644 index 8cfe82d9..00000000 --- a/app/assets/stylesheets/task-list.scss +++ /dev/null @@ -1,68 +0,0 @@ -/* ========================================================================== - #TASK LIST - ========================================================================== */ - -.moj-task-list { - list-style-type: none; - padding-left: 0; - margin-top: 0; - margin-bottom: 0; - @include govuk-media-query($from: tablet) { - min-width: 550px; - } -} - -.moj-task-list__section { - display: table; - @include govuk-font($size:24, $weight: bold); -} - -.moj-task-list__section-number { - display: table-cell; - - @include govuk-media-query($from: tablet) { - min-width: govuk-spacing(6); - padding-right: 0; - } -} - -.moj-task-list__items { - @include govuk-font($size: 19); - @include govuk-responsive-margin(9, "bottom"); - list-style: none; - padding-left: 0; - @include govuk-media-query($from: tablet) { - padding-left: govuk-spacing(6); - } -} - -.moj-task-list__item { - border-bottom: 1px solid $govuk-border-colour; - margin-bottom: 0 !important; - padding-top: govuk-spacing(2); - padding-bottom: govuk-spacing(2); - @include govuk-clearfix; -} - -.moj-task-list__item:first-child { - border-top: 1px solid $govuk-border-colour; -} - -.moj-task-list__task-name { - display: block; - @include govuk-media-query($from: 450px) { - float: left; - width: 75%; - } -} - -.moj-task-list__task-completed { - margin-top: govuk-spacing(2); - margin-bottom: govuk-spacing(1); - - @include govuk-media-query($from: 450px) { - float: right; - margin-top: 0; - margin-bottom: 0; - } -} diff --git a/app/views/additional_document_validation_requests/edit.html.erb b/app/views/additional_document_validation_requests/edit.html.erb index 014c2456..299a43d1 100644 --- a/app/views/additional_document_validation_requests/edit.html.erb +++ b/app/views/additional_document_validation_requests/edit.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Additional document validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/additional_document_validation_requests/show.html.erb b/app/views/additional_document_validation_requests/show.html.erb index 786b743a..2923e029 100644 --- a/app/views/additional_document_validation_requests/show.html.erb +++ b/app/views/additional_document_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Additional document validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/description_change_validation_requests/show.html.erb b/app/views/description_change_validation_requests/show.html.erb index 32d95f7e..c946a862 100644 --- a/app/views/description_change_validation_requests/show.html.erb +++ b/app/views/description_change_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Description change validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/fee_change_validation_requests/show.html.erb b/app/views/fee_change_validation_requests/show.html.erb index c962301f..b804e3c2 100644 --- a/app/views/fee_change_validation_requests/show.html.erb +++ b/app/views/fee_change_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Other change validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 9f66564f..371e4854 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,6 +1,9 @@ + + Skip to content + <%= content_for?(:page_title) ? yield(:page_title) : "Back-Office Planning System" %> <%= csrf_meta_tags %> diff --git a/app/views/neighbour_responses/_about_you.html.erb b/app/views/neighbour_responses/_about_you.html.erb index e70157e6..a46230c6 100644 --- a/app/views/neighbour_responses/_about_you.html.erb +++ b/app/views/neighbour_responses/_about_you.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + About you +<% end %> +

Your details

<%= form.govuk_text_field :name, label: { text: 'Full name' } %> diff --git a/app/views/neighbour_responses/_check.html.erb b/app/views/neighbour_responses/_check.html.erb index 4da75c49..b21cddc1 100644 --- a/app/views/neighbour_responses/_check.html.erb +++ b/app/views/neighbour_responses/_check.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + Check your comments before sending +<% end %> +

Check your comments before sending

diff --git a/app/views/neighbour_responses/_response.html.erb b/app/views/neighbour_responses/_response.html.erb index 91c04ede..f204a99c 100644 --- a/app/views/neighbour_responses/_response.html.erb +++ b/app/views/neighbour_responses/_response.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + Share your comments about the work +<% end %> + <%= form.govuk_check_boxes_fieldset :tags, multiple: true, legend: { text: "Share your comments about the proposed work", size: "l" }, hint: { text: "Select the topics you want to comment on. You can attach documents to help the planning officer understand your comments on the next page." } do %> <%= form.govuk_check_box :tags, :design, label: { text: "Design, size or height of new buildings or extensions" }, checked: response.tags&.include?("design") do %> <%= form.govuk_text_area :design, label: { text: "We cannot consider comments about loss of view" } %> diff --git a/app/views/neighbour_responses/_thoughts.html.erb b/app/views/neighbour_responses/_thoughts.html.erb index 27cc6ba0..5e183cc8 100644 --- a/app/views/neighbour_responses/_thoughts.html.erb +++ b/app/views/neighbour_responses/_thoughts.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + How do you feel about the proposed work? +<% end %> + <%= form.govuk_radio_buttons_fieldset(:summary_tag, legend: { size: "l", text: "How do you feel about the proposed work?" }) do %> <%= form.govuk_radio_button :summary_tag, 'supportive', label: { text: 'I support the application' } %> <%= form.govuk_radio_button :summary_tag, 'neutral', label: { text: "I want to make general comments" } %> diff --git a/app/views/neighbour_responses/new.html.erb b/app/views/neighbour_responses/new.html.erb index d3d4dfbe..843fad08 100644 --- a/app/views/neighbour_responses/new.html.erb +++ b/app/views/neighbour_responses/new.html.erb @@ -1,8 +1,6 @@ -

- <%= form_for @new_response, +<%= form_for @new_response, url: planning_application_neighbour_responses_path(@planning_application["id"]), builder: GOVUKDesignSystemFormBuilder::FormBuilder do |form| %> <%= hidden_field_tag :stage, @new_response.stage %> <%= render @new_response.stage, form: form, response: form.object %> - <% end %> -
+<% end %> diff --git a/app/views/neighbour_responses/start.html.erb b/app/views/neighbour_responses/start.html.erb index fb328491..53c8bfd0 100644 --- a/app/views/neighbour_responses/start.html.erb +++ b/app/views/neighbour_responses/start.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + Comment on a planning application +<% end %> +

Comment on a planning application

diff --git a/app/views/neighbour_responses/thank_you.html.erb b/app/views/neighbour_responses/thank_you.html.erb index b989f8d3..1e49c562 100644 --- a/app/views/neighbour_responses/thank_you.html.erb +++ b/app/views/neighbour_responses/thank_you.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + We've got your comments +<% end %> +

We've got your comments diff --git a/app/views/other_change_validation_requests/show.html.erb b/app/views/other_change_validation_requests/show.html.erb index 172fee1b..8359b98f 100644 --- a/app/views/other_change_validation_requests/show.html.erb +++ b/app/views/other_change_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Other change validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/ownership_certificate_validation_requests/show.html.erb b/app/views/ownership_certificate_validation_requests/show.html.erb index 4173fb0d..1ea95a1e 100644 --- a/app/views/ownership_certificate_validation_requests/show.html.erb +++ b/app/views/ownership_certificate_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Other change validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/ownership_certificates/edit.html.erb b/app/views/ownership_certificates/edit.html.erb index c6f3e35c..5e409054 100644 --- a/app/views/ownership_certificates/edit.html.erb +++ b/app/views/ownership_certificates/edit.html.erb @@ -1,8 +1,7 @@ -
- <% content_for :page_title do %> - Confirm ownership - <% end %> -
+<% content_for :page_title do %> + <%= t(".page_title", id: @validation_request["id"]) %> +<% end %> +

Confirm ownership

diff --git a/app/views/ownership_certificates/show.html.erb b/app/views/ownership_certificates/show.html.erb index 2597b4e6..0817f6af 100644 --- a/app/views/ownership_certificates/show.html.erb +++ b/app/views/ownership_certificates/show.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> + Confirm ownership +<% end %> +

Confirm ownership

diff --git a/app/views/planning_applications/show.html.erb b/app/views/planning_applications/show.html.erb index 0ee7a996..55c05ba6 100644 --- a/app/views/planning_applications/show.html.erb +++ b/app/views/planning_applications/show.html.erb @@ -1,3 +1,10 @@ +<% content_for :page_title do %> + Planning application for + <%= @planning_application["site"]["address_1"] %>, + <%= @planning_application["site"]["address_2"] %>, + <%= @planning_application["site"]["postcode"] %> +<% end %> +

<%= @planning_application["site"]["address_1"] %>, <%= @planning_application["site"]["address_2"] %>, diff --git a/app/views/pre_commencement_condition_validation_requests/show.html.erb b/app/views/pre_commencement_condition_validation_requests/show.html.erb index fb6081e2..a0f14d15 100644 --- a/app/views/pre_commencement_condition_validation_requests/show.html.erb +++ b/app/views/pre_commencement_condition_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Pre-commencement conditions request - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/red_line_boundary_change_validation_requests/show.html.erb b/app/views/red_line_boundary_change_validation_requests/show.html.erb index 18ef8f0c..be55f806 100644 --- a/app/views/red_line_boundary_change_validation_requests/show.html.erb +++ b/app/views/red_line_boundary_change_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Red line boundary change validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/replacement_document_validation_requests/show.html.erb b/app/views/replacement_document_validation_requests/show.html.erb index c3e1326b..a5efd485 100644 --- a/app/views/replacement_document_validation_requests/show.html.erb +++ b/app/views/replacement_document_validation_requests/show.html.erb @@ -1,5 +1,5 @@ <% content_for :page_title do %> - Replacement document validation request #<%= @validation_request["id"] %> - Back-Office Planning System + <%= t(".page_title", id: @validation_request["id"]) %> <% end %>
diff --git a/app/views/site_notices/download.html.erb b/app/views/site_notices/download.html.erb index c9a69ffd..cbd885e6 100644 --- a/app/views/site_notices/download.html.erb +++ b/app/views/site_notices/download.html.erb @@ -1,3 +1,5 @@ +<% content_for :page_title, "Download your site notice" %> +

<%= @planning_application["site"]["address_1"] %>, <%= @planning_application["site"]["address_2"] %>, diff --git a/app/views/validation_requests/_additional_document_validation_requests.html.erb b/app/views/validation_requests/_additional_document_validation_requests.html.erb index 61acf9d3..f931c772 100644 --- a/app/views/validation_requests/_additional_document_validation_requests.html.erb +++ b/app/views/validation_requests/_additional_document_validation_requests.html.erb @@ -1,15 +1,17 @@ -
  • -

    - <%= count_total_requests(@validation_requests, "additional_document_validation_requests") %> Provide new or missing documents -

    -
      +
    • +

      + Provide new or missing documents +

      +
        <% @validation_requests["data"]["additional_document_validation_requests"].each do |change_request| %> -
      • - <% if change_request["state"] == "open" %> - <%= link_to "New document", edit_additional_document_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "New document", additional_document_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
      • diff --git a/app/views/validation_requests/_change_request_state.html.erb b/app/views/validation_requests/_change_request_state.html.erb index de144023..d5dc389a 100644 --- a/app/views/validation_requests/_change_request_state.html.erb +++ b/app/views/validation_requests/_change_request_state.html.erb @@ -1,13 +1,13 @@ <% if change_request["state"] == 'open' %> - +
        Not started - +
        <% elsif change_request["state"] == 'cancelled' %> - +
        Cancelled - +
        <% else %> - +
        Complete - +
        <% end %> diff --git a/app/views/validation_requests/_description_change_validation_requests.html.erb b/app/views/validation_requests/_description_change_validation_requests.html.erb index aa43e454..666ff9c5 100644 --- a/app/views/validation_requests/_description_change_validation_requests.html.erb +++ b/app/views/validation_requests/_description_change_validation_requests.html.erb @@ -1,15 +1,17 @@ -
      • -

        - 1. Confirm changes to your application description -

        -
          +
        • +

          + Confirm changes to your application description +

          +
            <% @validation_requests["data"]["description_change_validation_requests"].each do |change_request| %> -
          • - <% if change_request["state"] == "open" %> - <%= link_to "Description", edit_description_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "Description", description_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
          • diff --git a/app/views/validation_requests/_fee_change_validation_requests.html.erb b/app/views/validation_requests/_fee_change_validation_requests.html.erb index 5b309840..7281e917 100644 --- a/app/views/validation_requests/_fee_change_validation_requests.html.erb +++ b/app/views/validation_requests/_fee_change_validation_requests.html.erb @@ -1,16 +1,17 @@ -
          • -

            - <%= count_total_requests(@validation_requests, "fee_change_validation_requests") %> +
          • +

            Respond to fee change request -

            -
              +
          • +
              <% @validation_requests["data"]["fee_change_validation_requests"].each do |change_request| %> -
            • - <% if change_request["state"] == "open" %> - <%= link_to "Fee change", edit_fee_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "Fee change", fee_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
            • diff --git a/app/views/validation_requests/_other_change_validation_requests.html.erb b/app/views/validation_requests/_other_change_validation_requests.html.erb index e57b93a1..d84a3c0f 100644 --- a/app/views/validation_requests/_other_change_validation_requests.html.erb +++ b/app/views/validation_requests/_other_change_validation_requests.html.erb @@ -1,15 +1,17 @@ -
            • -

              - <%= count_total_requests(@validation_requests, "other_change_validation_requests") %>Respond to other request -

              -
                +
              • +

                + Respond to other request +

                +
                  <% @validation_requests["data"]["other_change_validation_requests"].each do |change_request| %> -
                • - <% if change_request["state"] == "open" %> - <%= link_to "Other request", edit_other_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "Other request", other_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
                • diff --git a/app/views/validation_requests/_ownership_certificate_validation_requests.html.erb b/app/views/validation_requests/_ownership_certificate_validation_requests.html.erb index eb7a4562..c48a4dfd 100644 --- a/app/views/validation_requests/_ownership_certificate_validation_requests.html.erb +++ b/app/views/validation_requests/_ownership_certificate_validation_requests.html.erb @@ -1,16 +1,17 @@ -
                • -

                  - <%= count_total_requests(@validation_requests, "ownership_certificate_validation_requests") %> +
                • +

                  Confirm ownership of the land -

                  -
                    +
                • +
                    <% @validation_requests["data"]["ownership_certificate_validation_requests"].each do |change_request| %> -
                  • - <% if change_request["state"] == "open" %> - <%= link_to "Confirm ownership", edit_ownership_certificate_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "Confirm ownership", ownership_certificate_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
                  • diff --git a/app/views/validation_requests/_pre_commencement_condition_validation_requests.html.erb b/app/views/validation_requests/_pre_commencement_condition_validation_requests.html.erb index 4383aedd..ae5215d1 100644 --- a/app/views/validation_requests/_pre_commencement_condition_validation_requests.html.erb +++ b/app/views/validation_requests/_pre_commencement_condition_validation_requests.html.erb @@ -1,16 +1,18 @@ -
                  • -

                    - <%= count_total_requests(@validation_requests, "pre_commencement_condition_validation_requests") %>Respond to pre-commencement conditions -

                    -
                      +
                    • +

                      + Respond to pre-commencement conditions +

                      +
                        <% @validation_requests["data"]["pre_commencement_condition_validation_requests"].group_by{ |request| request["condition_id"] }.each do |id, group| %> <% request = group.sort_by{ |request| request["created_at"] }.last %> -
                      • - <% if request["state"] == "open" %> - <%= link_to request["condition"]["title"], edit_pre_commencement_condition_validation_request_path(request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to request["condition"]["title"], pre_commencement_condition_validation_request_path(request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
                      • diff --git a/app/views/validation_requests/_red_line_boundary_change_validation_requests.html.erb b/app/views/validation_requests/_red_line_boundary_change_validation_requests.html.erb index f74ac153..ee6dcc28 100644 --- a/app/views/validation_requests/_red_line_boundary_change_validation_requests.html.erb +++ b/app/views/validation_requests/_red_line_boundary_change_validation_requests.html.erb @@ -1,15 +1,17 @@ -
                      • -

                        - <%= count_total_requests(@validation_requests, "red_line_boundary_change_validation_requests") %>Confirm changes to your application's red line boundary -

                        -
                          +
                        • +

                          + Confirm changes to your application's red line boundary +

                          +
                            <% @validation_requests["data"]["red_line_boundary_change_validation_requests"].each do |change_request| %> -
                          • - <% if change_request["state"] == "open" %> - <%= link_to "Red Line Boundary", edit_red_line_boundary_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "Red Line Boundary", red_line_boundary_change_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
                          • diff --git a/app/views/validation_requests/_replacement_document_validation_requests.html.erb b/app/views/validation_requests/_replacement_document_validation_requests.html.erb index f56072eb..3c17517a 100644 --- a/app/views/validation_requests/_replacement_document_validation_requests.html.erb +++ b/app/views/validation_requests/_replacement_document_validation_requests.html.erb @@ -1,15 +1,17 @@ -
                          • -

                            - <%= count_total_requests(@validation_requests, "replacement_document_validation_requests") %>Provide replacement documents -

                            -
                              +
                            • +

                              + Provide replacement documents +

                              +
                                <% @validation_requests["data"]["replacement_document_validation_requests"].each do |change_request| %> -
                              • - <% if change_request["state"] == "open" %> - <%= link_to "#{change_request["old_document"]["name"]}", edit_replacement_document_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% else %> - <%= link_to "#{change_request["old_document"]["name"]}", replacement_document_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %> - <% end %> +
                              • diff --git a/app/views/validation_requests/index.html.erb b/app/views/validation_requests/index.html.erb index 799ad110..6141b098 100644 --- a/app/views/validation_requests/index.html.erb +++ b/app/views/validation_requests/index.html.erb @@ -1,3 +1,5 @@ +<% content_for :page_title, "Your planning application" %> +

                                <%= t(".title") %>

                                @@ -11,7 +13,7 @@

                                <%= t(".the_case_officer") %>

                                -

                                <%= t(".what_you_need") %>

                                +

                                <%= t(".what_you_need") %>

                                • <%= t(".each_link_below") %>
                                • <%= t(".click_on_each") %>
                                • @@ -22,7 +24,7 @@
                                -
                                  +
                                    <% if @validation_requests["data"]["description_change_validation_requests"].present? %> <%= render "description_change_validation_requests" %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 07f4a895..f10194d8 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,5 +1,9 @@ en: additional_document_validation_requests: + edit: + page_title: "Additional document validation request #%{id} - Back-Office Planning System" + show: + page_title: "Additional document validation request #%{id} - Back-Office Planning System" document_create_header: case_officers_reason: "Case officer's reason for requesting the document:" click_save_to: Click save or open to add the file @@ -12,6 +16,8 @@ en: title: Provide a new document what_you_need: "What you need to do:" description_change_validation_requests: + show: + page_title: "Description change validation request #%{id} - Back-Office Planning System" edit: click_submit_to: Click submit to complete this action if_you_disagree: If you disagree, write in the box provided your reason for disagreeing with the changes and provided your suggested wording for the new description @@ -24,6 +30,8 @@ en: title: Confirm changes to your application description what_you_need: "What you need to do:" fee_change_validation_requests: + show: + page_title: "Fee change validation request #%{id} - Back-Office Planning System" edit: click_submit_to: Click submit to complete this action comment_from_case_officer: Comment from case officer @@ -37,6 +45,8 @@ en: upload_supporting: upload supporting documents if requested what_you_need: "What you need to do:" other_change_validation_requests: + show: + page_title: "Other change validation request #%{id} - Back-Office Planning System" edit: click_submit_to: Click submit to complete this action how_you_can: How you can make your application valid @@ -49,6 +59,8 @@ en: title: Respond to other request what_you_need: "What you need to do:" pre_commencement_condition_validation_requests: + show: + page_title: "Pre-commencement condition request #%{id} - Back-Office Planning System" edit: click_submit_to: submit your response if_you_disagree: if you disagree, add a reason why @@ -68,6 +80,8 @@ en: title: Respond to heads of terms request what_you_need: "What you need to do:" ownership_certificate_validation_requests: + show: + page_title: "Confirm ownership #%{id} - Back-Office Planning System" edit: page_title: "Confirm ownership #%{id} - Back-Office Planning System" title: Confirm ownership diff --git a/spec/system/validation_request_spec.rb b/spec/system/validation_request_spec.rb index 5880ff10..b256f51d 100644 --- a/spec/system/validation_request_spec.rb +++ b/spec/system/validation_request_spec.rb @@ -105,6 +105,6 @@ visit "/validation_requests?planning_application_id=28&change_access_id=345443543" - expect(page).to have_title "Back-Office Planning System" + expect(page).to have_title "Your planning application" end end