mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Fix Save PDF to repository modal window
This commit is contained in:
parent
b6c4f724db
commit
e0a3b5a941
2 changed files with 11 additions and 8 deletions
|
@ -35,18 +35,21 @@
|
|||
disabled>
|
||||
</select>
|
||||
<% else %>
|
||||
<p><%=t 'projects.reports.new.save_PDF_to_inventory_modal.no_inventories' %></p>
|
||||
<br />
|
||||
<p><em><%=t 'projects.reports.new.save_PDF_to_inventory_modal.no_inventories' %></em></p>
|
||||
<% end %>
|
||||
<div class="save-PDF-to-inventory-alerts" id="save-PDF-to-inventory-warnings"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.cancel' %></button>
|
||||
<button
|
||||
id="savePDFtoInventorySubmit"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
disabled
|
||||
><%=t 'general.save' %></button>
|
||||
<% if @available_repositories && @available_repositories.length > 0 %>
|
||||
<button
|
||||
id="savePDFtoInventorySubmit"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
disabled
|
||||
><%=t 'general.save' %></button>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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: <ul><li>previous file will be permanently deleted;</li><li>new file will be added to the Inventory item.</li></ul>"
|
||||
no_items: "Selected Inventory does not contain any items yet. Add the first item"
|
||||
|
|
Loading…
Reference in a new issue