Skip to content

Commit 7ae9684

Browse files
Revert Records back to Reports (as in production) (#180)
This reverts the 'Records' section back to being labelled 'Reports', as it currently is in production, as we’ve decided to have the 'Find a record' feature in a separate section for now, see #179. ## Screenshot ![Screenshot 2025-01-29 at 13 27 20](https://github.com/user-attachments/assets/237376c1-c415-44a8-9377-dfeb4dc40f6b)
1 parent f04d341 commit 7ae9684

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

app/views/includes/header-logged-in-organisation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
} if (currentUser and (["Lead administrator", "Administrator"] | arrayOrStringIncludes(currentUser.role))),
2525
{
2626
url: "/reports",
27-
label: "Records",
27+
label: "Reports",
2828
classes: ("app-header__navigation-item--current" if currentSection == "reports")
2929
} if (currentUser and (["Lead administrator", "Administrator"] | arrayOrStringIncludes(currentUser.role))),
3030
{

app/views/reports/index.html

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@
1010
<div class="nhsuk-grid-row">
1111
<div class="nhsuk-grid-column-full">
1212

13-
<h1 class="nhsuk-heading-xl">Records</h1>
13+
<h1 class="nhsuk-heading-xl nhsuk-u-margin-bottom-2">Reports</h1>
14+
<p class="nhsuk-caption-m">Create and download reports</p>
1415

15-
<h2>Find and edit records</h2>
16-
17-
<p>Last 10 records listed with view links?</p>
18-
19-
<p>Or find by patient or date?</p>
20-
21-
<h2>Export records</h2>
22-
23-
<p class="nhsuk-body-l">Create and download extracts of records</p>
16+
{{ insetText({
17+
html: "<p>Reports may take longer to process if you choose more data or a wider date range.</p>"
18+
})}}
2419

2520
{{ button({
26-
"text": "Create extract",
21+
"text": "Create report",
2722
"href": "/reports/choose-dates"
2823
}) }}
2924

0 commit comments

Comments
 (0)