Change consumption reposrt esport modal text [SCI-9194] (#6167)

This commit is contained in:
wandji 2023-09-08 10:39:46 +01:00 committed by GitHub
parent d8965e8ef9
commit e6252e09cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -13,8 +13,9 @@
<h4 class="modal-title"><%=t 'zip_export.consumption_modal_label' %></h4>
</div>
<div class="modal-body">
<div><%=t('zip_export.consumption_header_html', repository: repository.name) %></div>
<div><%=t 'zip_export.consumption_footer_html' %></div>
<p><%=t('zip_export.consumption_header_html', repository: repository.name) %></p>
<p><%=t 'zip_export.consumption_body_html' %></p>
<p class='pb-0'><%=t 'zip_export.consumption_footer_html' %></p>
</div>
<div class="modal-footer">
<button type='button' class='btn btn-secondary' data-dismiss='modal' id='close-modal-export-stock-consumption'><%= t('general.cancel')%></button>

View file

@ -3532,9 +3532,10 @@ en:
repository_footer_html: 'Inventory will be exported in a .csv file format. You will receive <strong>email with a link</strong> where you can download it.'
export_request_success: "Export request received. Your export request is being processed."
export_error: "Error when creating zip export."
consumption_modal_label: 'Consumption report'
consumption_header_html: 'You are about to generate consumption report for selected items in inventory %{repository}.'
consumption_footer_html: 'Consumption report will be exported in a .csv file format. You will receive <strong>email with a link</strong> where you can download it.'
consumption_modal_label: 'Export consumption'
consumption_header_html: 'You are about to generate consumption report for selected items in inventory %{repository}*. The report will be saved in a .csv file format.'
consumption_body_html: 'After the report is generated, you will be able to find the <strong>download link</strong> in both your SciNote notifications and email inbox.'
consumption_footer_html: 'For security reasons, please note that the link will only be <strong>valid for 7 days</strong>.'
consumption_generate: 'Generate'
webhooks:
index: