Browse Source

feat: add new files and update copy

pull/1342/head
natdeanlewissoftwire 3 years ago
parent
commit
bda1ddbf34
  1. 4
      app/models/forms/bulk_upload_lettings/prepare_your_file.rb
  2. 4
      app/models/forms/bulk_upload_sales/prepare_your_file.rb
  3. 6
      app/views/bulk_upload_lettings_logs/forms/prepare_your_file.html.erb
  4. 6
      app/views/bulk_upload_sales_logs/forms/prepare_your_file.html.erb
  5. 0
      public/files/bulk-upload-lettings-template-2022-23.xlsx
  6. BIN
      public/files/bulk-upload-lettings-template-2023-24.xlsx
  7. 0
      public/files/bulk-upload-sales-template-2022-23.xlsx
  8. BIN
      public/files/bulk-upload-sales-template-2023-24.xlsx

4
app/models/forms/bulk_upload_lettings/prepare_your_file.rb

@ -26,11 +26,11 @@ module Forms
end end
def template_path def template_path
"/files/bulk-upload-lettings-template-v1.xlsx" "/files/bulk-upload-lettings-template-2023-24.xlsx"
end end
def old_template_path def old_template_path
"/files/bulk-upload-lettings-template-v1.xlsx" "/files/bulk-upload-lettings-template-2022-23.xlsx"
end end
def specification_path def specification_path

4
app/models/forms/bulk_upload_sales/prepare_your_file.rb

@ -24,11 +24,11 @@ module Forms
end end
def template_path def template_path
"/files/bulk-upload-sales-template-v1.xlsx" "/files/bulk-upload-sales-template-2023-24.xlsx"
end end
def old_template_path def old_template_path
"/files/bulk-upload-sales-template-v1.xlsx" "/files/bulk-upload-sales-template-2022-23.xlsx"
end end
def specification_path def specification_path

6
app/views/bulk_upload_lettings_logs/forms/prepare_your_file.html.erb

@ -10,12 +10,12 @@
<span class="govuk-caption-l">Upload lettings logs in bulk (<%= @form.year_combo %>)</span> <span class="govuk-caption-l">Upload lettings logs in bulk (<%= @form.year_combo %>)</span>
<h1 class="govuk-heading-l">Prepare your file</h1> <h1 class="govuk-heading-l">Prepare your file</h1>
<p class="govuk-inset-text">The new bulk upload template has been reordered to match the order of questions on the site. If your system is still exporting the old ordering then use this <%= govuk_link_to "bulk lettings template", @form.old_template_path %> instead.</p> <p class="govuk-inset-text">If your housing management system still exports data in exactly the old order we recommend using this <%= govuk_link_to "bulk lettings template", @form.old_template_path %> instead of the one listed below.</p>
<h2 class="govuk-heading-m">Create your file</h2> <h2 class="govuk-heading-m">Create your file</h2>
<ul class="govuk-list govuk-list--bullet"> <ul class="govuk-list govuk-list--bullet">
<li>Download the <%= govuk_link_to "bulk lettings template (new ordering)", @form.template_path %></li> <li>Download the <%= govuk_link_to "bulk lettings template (new ordering)", @form.template_path %></li>
<li>Export the data from your housing management system, matching the template</li> <li>Export the data from your housing management system, matching the template. Find out more about exporting your data</li>
<li>If you cannot export it in this format, you may have to input it manually</li> <li>If you can not export it in this format, you may have to input it manually onto the template</li>
<li>You can not have a file with both general needs logs and supported housing logs. These must be in separate files</li> <li>You can not have a file with both general needs logs and supported housing logs. These must be in separate files</li>
</ul> </ul>

6
app/views/bulk_upload_sales_logs/forms/prepare_your_file.html.erb

@ -10,12 +10,12 @@
<span class="govuk-caption-l">Upload sales logs in bulk (<%= @form.year_combo %>)</span> <span class="govuk-caption-l">Upload sales logs in bulk (<%= @form.year_combo %>)</span>
<h1 class="govuk-heading-l">Prepare your file</h1> <h1 class="govuk-heading-l">Prepare your file</h1>
<p class="govuk-inset-text">The new bulk upload template has been reordered to match the order of questions on the site. If your system is still exporting the old ordering then use this <%= govuk_link_to "bulk sales template", @form.old_template_path %> instead.</p> <p class="govuk-inset-text">If your housing management system still exports data in exactly the old order we recommend using this <%= govuk_link_to "bulk sales template", @form.old_template_path %> instead of the one listed below.</p>
<h2 class="govuk-heading-m">Create your file</h2> <h2 class="govuk-heading-m">Create your file</h2>
<ul class="govuk-list govuk-list--bullet"> <ul class="govuk-list govuk-list--bullet">
<li>Download the <%= govuk_link_to "bulk sales template (new ordering)", @form.template_path %></li> <li>Download the <%= govuk_link_to "bulk sales template (new ordering)", @form.template_path %></li>
<li>Export the data from your housing management system, matching the template</li> <li>Export the data from your housing management system, matching the template. Find out more about exporting your data</li>
<li>If you cannot export it in this format, you may have to input it manually</li> <li>If you can not export it in this format, you may have to input it manually onto the template</li>
<li>You can not have a file with both general needs logs and supported housing logs. These must be in separate files</li> <li>You can not have a file with both general needs logs and supported housing logs. These must be in separate files</li>
</ul> </ul>

0
public/files/bulk-upload-lettings-template-v1.xlsx → public/files/bulk-upload-lettings-template-2022-23.xlsx

BIN
public/files/bulk-upload-lettings-template-2023-24.xlsx

Binary file not shown.

0
public/files/bulk-upload-sales-template-v1.xlsx → public/files/bulk-upload-sales-template-2022-23.xlsx

BIN
public/files/bulk-upload-sales-template-2023-24.xlsx

Binary file not shown.
Loading…
Cancel
Save