From e0a3b5a941d911b5edc88f8cb3941c90c1adff64 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Wed, 6 Jun 2018 16:29:07 +0200 Subject: [PATCH] Fix Save PDF to repository modal window --- .../new/_save_PDF_to_inventory_modal.html.erb | 17 ++++++++++------- config/locales/en.yml | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/app/views/reports/new/_save_PDF_to_inventory_modal.html.erb b/app/views/reports/new/_save_PDF_to_inventory_modal.html.erb index 678eb49f2..a9e8c264b 100644 --- a/app/views/reports/new/_save_PDF_to_inventory_modal.html.erb +++ b/app/views/reports/new/_save_PDF_to_inventory_modal.html.erb @@ -35,18 +35,21 @@ disabled> <% else %> -

<%=t 'projects.reports.new.save_PDF_to_inventory_modal.no_inventories' %>

+
+

<%=t 'projects.reports.new.save_PDF_to_inventory_modal.no_inventories' %>

<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index af2c0daec..50bb4f233 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -330,7 +330,7 @@ en: inventory: "Select inventory:" inventory_column: "Select inventory column:" inventory_item: "Select inventory item:" - no_inventories: "No inventories available!" + no_inventories: "No inventories to save this PDF to." success_flash: "Report successfully saved to Inventory item." asset_present_warning_html: "The selected cell already contains a file. If you would like to replace the file click Save. Replacing the file will have the following consequences: " no_items: "Selected Inventory does not contain any items yet. Add the first item"