Skip to content

Commit

Permalink
Merge pull request #128 from epimorphics/issue/116-page-titles
Browse files Browse the repository at this point in the history
Updates page titles
  • Loading branch information
DanielCouzens authored Aug 16, 2024
2 parents 86f2c9b + 55f065e commit 6829ce0
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 1.5.3 - 2024-08

- (Dan) Updates the page titles throughout the app [116](https://github.com/epimorphics/standard-reports-ui/issues/116)
- (Dan) Updates the button text on reports page to be dynamic and adds aria labels to help screen readers [119](https://github.com/epimorphics/standard-reports-ui/issues/119)
- (Dan) Update the error message for the postcode selectors step 3/7 [120](https://github.com/epimorphics/standard-reports-ui/issues/120)
- (Dan) Update the error message for the postcode selectors step 3/7 [120](https://github.com/epimorphics/standard-reports-ui/issues/120)
Expand Down
5 changes: 4 additions & 1 deletion app/views/download_report/bad_request.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
%h1.heading-large Invalid request
= content_for(:title, "Invalid request")

%h1.heading-large
= yield(:title)

%p
Your request could not be processed, due to:
Expand Down
4 changes: 3 additions & 1 deletion app/views/landing/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
= content_for(:title, 'Price Paid Data – Standard Reports'.html_safe)

%h1.heading-large
Price Paid Data – Standard Reports
= yield(:title)

%p
HM Land Registry publishes open data on prices paid for properties sold in England and Wales. For customers who want
Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/review_report.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "Your report file")

= render partial: "help"
.review-report

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_aggregation_type.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-aggregation-type

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_area_type.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-area-type

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_country.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-country

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_county.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-county

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_dates.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
- step = @workflow.current_step
- values = step.values( @workflow )
Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_district.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-district

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_options.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-options

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_pc_area.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-pc-area

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_pc_district.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-pc-district

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_pc_sector.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-pc-sector

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_region.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

= render partial: "help"
.select-region

Expand Down
2 changes: 2 additions & 0 deletions app/views/report_design/select_report.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= content_for(:title, "#{@workflow.step_progress_summary} – Report Design".html_safe)

- step = @workflow.current_step
- step_values = step.values( @workflow )

Expand Down

0 comments on commit 6829ce0

Please sign in to comment.