Skip to content

Commit 1737419

Browse files
Merge pull request #5560 from nhsuk/fix-imports-index
Fix imports index
2 parents 6dae225 + 96deb0c commit 1737419

4 files changed

Lines changed: 19 additions & 27 deletions

File tree

app/views/imports/_header.html.erb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<%= h1 t("imports.index.title"), size: "xl" %>
2+
3+
<p class="nhsuk-u-reading-width">
4+
Use this page to upload and import child, class list and vaccination records.
5+
</p>
6+
7+
<p class="nhsuk-u-reading-width">
8+
After import, files move to the <strong>Completed imports</strong> tab.
9+
Any close matches to resolve will appear in the <strong>Issues</strong> tab.
10+
</p>
11+
12+
<p class="nhsuk-u-reading-width">
13+
Upload times can vary. Refresh the page to see the latest status.
14+
</p>
15+
16+
<%= govuk_button_to "Upload records", imports_path, secondary: true, class: "nhsuk-u-margin-bottom-4" %>

app/views/imports/index.html.erb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
<%= h1 t(".title"), size: "xl" %>
2-
3-
<div class="nhsuk-u-reading-width">
4-
Use this page to upload and import child, class list and vaccination records.
5-
After import, files move to the Completed imports tab.
6-
Any close matches to resolve will appear in the Issues tab.
7-
Upload times can vary. Refresh the page to see the latest status.
8-
<%= govuk_button_to "Upload records", imports_path, secondary: true, class: "nhsuk-u-margin-bottom-4" %>
9-
</div>
1+
<%= render "imports/header" %>
102

113
<%= render AppImportsNavigationComponent.new(active: @active, team: current_team) %>
124

app/views/imports/issues/index.html.erb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
<%= h1 t("imports.index.title"), size: "xl" %>
2-
3-
<div class="nhsuk-u-reading-width">
4-
Use this page to upload and import child, class list and vaccination records.
5-
After import, files move to the Completed imports tab.
6-
Any close matches to resolve will appear in the Issues tab.
7-
Upload times can vary. Refresh the page to see the latest status.
8-
<%= govuk_button_to "Upload records", imports_path, secondary: true, class: "nhsuk-u-margin-bottom-4" %>
9-
</div>
1+
<%= render "imports/header" %>
102

113
<%= render AppImportsNavigationComponent.new(active: :issues, team: current_team) %>
124

app/views/imports/notices/index.html.erb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
<%= h1 t("imports.index.title"), size: "xl" %>
2-
3-
<div class="nhsuk-u-reading-width">
4-
Use this page to upload and import child, class list and vaccination records.
5-
After import, files move to the Completed imports tab.
6-
Any close matches to resolve will appear in the Issues tab.
7-
Upload times can vary. Refresh the page to see the latest status.
8-
<%= govuk_button_to "Upload records", imports_path, secondary: true, class: "nhsuk-u-margin-bottom-4" %>
9-
</div>
1+
<%= render "imports/header" %>
102

113
<%= render AppImportsNavigationComponent.new(active: :notices, team: current_team) %>
124

0 commit comments

Comments
 (0)