Browse Source

Add file in front of filename (#1662)

* Add file in front of filename

* Update more templates
pull/1672/head
Jack 2 years ago committed by GitHub
parent
commit
2c268e225f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/bulk_upload_lettings_results/show.html.erb
  2. 2
      app/views/bulk_upload_lettings_results/summary.html.erb
  3. 2
      app/views/bulk_upload_lettings_resume/fix_choice.html.erb
  4. 2
      app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb
  5. 2
      app/views/bulk_upload_sales_results/show.html.erb
  6. 2
      app/views/bulk_upload_sales_results/summary.html.erb
  7. 2
      app/views/bulk_upload_sales_resume/fix_choice.html.erb
  8. 2
      app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb
  9. 2
      app/views/logs/index.html.erb

2
app/views/bulk_upload_lettings_results/show.html.erb

@ -7,7 +7,7 @@
Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
</div> </div>
<h2 class="govuk-heading-m"><%= @bulk_upload.filename %></h2> <h2 class="govuk-heading-m">File: <%= @bulk_upload.filename %></h2>
</div> </div>
</div> </div>

2
app/views/bulk_upload_lettings_results/summary.html.erb

@ -8,7 +8,7 @@
</p> </p>
<p class="govuk-body-l"> <p class="govuk-body-l">
Filename: <%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</p> </p>
</div> </div>
</div> </div>

2
app/views/bulk_upload_lettings_resume/fix_choice.html.erb

@ -7,7 +7,7 @@
<h1 class="govuk-heading-l">How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?</h1> <h1 class="govuk-heading-l">How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?</h1>
<div class="govuk-body-l"> <div class="govuk-body-l">
<%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</div> </div>
<div class="govuk-body"> <div class="govuk-body">

2
app/views/bulk_upload_lettings_soft_validations_check/confirm_soft_errors.html.erb

@ -9,7 +9,7 @@
<p class="govuk-body-l">Some data from your bulk upload might not be right. Check your file for any errors in the fields below.</p> <p class="govuk-body-l">Some data from your bulk upload might not be right. Check your file for any errors in the fields below.</p>
<p class="govuk-body"> <p class="govuk-body">
<%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</p> </p>
</div> </div>

2
app/views/bulk_upload_sales_results/show.html.erb

@ -7,7 +7,7 @@
Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
</div> </div>
<h2 class="govuk-heading-m"><%= @bulk_upload.filename %></h2> <h2 class="govuk-heading-m">File: <%= @bulk_upload.filename %></h2>
</div> </div>
</div> </div>

2
app/views/bulk_upload_sales_results/summary.html.erb

@ -8,7 +8,7 @@
</p> </p>
<p class="govuk-body-l"> <p class="govuk-body-l">
Filename: <%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</p> </p>
</div> </div>
</div> </div>

2
app/views/bulk_upload_sales_resume/fix_choice.html.erb

@ -7,7 +7,7 @@
<h1 class="govuk-heading-l">How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?</h1> <h1 class="govuk-heading-l">How would you like to fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %>?</h1>
<div class="govuk-body-l"> <div class="govuk-body-l">
<%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</div> </div>
<div class="govuk-body"> <div class="govuk-body">

2
app/views/bulk_upload_sales_soft_validations_check/confirm_soft_errors.html.erb

@ -9,7 +9,7 @@
<p class="govuk-body-l">Some data from your bulk upload might not be right. Check your file for any errors in the fields below.</p> <p class="govuk-body-l">Some data from your bulk upload might not be right. Check your file for any errors in the fields below.</p>
<p class="govuk-body"> <p class="govuk-body">
<%= @bulk_upload.filename %> File: <%= @bulk_upload.filename %>
</p> </p>
</div> </div>

2
app/views/logs/index.html.erb

@ -36,7 +36,7 @@
<p class="govuk-body"> <p class="govuk-body">
<strong>Bulk Upload details:</strong><br> <strong>Bulk Upload details:</strong><br>
<%= @bulk_upload.filename %><br> File: <%= @bulk_upload.filename %><br>
Uploaded on <%= @bulk_upload.created_at.to_fs(:govuk_date_and_time) %><br> Uploaded on <%= @bulk_upload.created_at.to_fs(:govuk_date_and_time) %><br>
</p> </p>
</div> </div>

Loading…
Cancel
Save