mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 06:06:24 +08:00
Merge pull request #4028 from aignatov-bio/ai-sci-6731-fix-edit-title-for-stock-consumption-modal
Add edit title for stock consumption modal [SCI-6731]
This commit is contained in:
commit
a1570de3da
2 changed files with 6 additions and 1 deletions
|
|
@ -4,7 +4,11 @@
|
|||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title">
|
||||
<% if @module_repository_row.stock_consumption %>
|
||||
<%= t('my_modules.repository.stock_modal.title_edit', name: @repository_row.name)%>
|
||||
<% else %>
|
||||
<%= t('my_modules.repository.stock_modal.title', name: @repository_row.name)%>
|
||||
<% end %>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
|
|||
|
|
@ -1005,6 +1005,7 @@ en:
|
|||
provisioning: 'Provisioning'
|
||||
stock_modal:
|
||||
title: 'Consume %{name}'
|
||||
title_edit: 'Edit %{name} consumption'
|
||||
description: 'Enter the total amount consumed in this task.'
|
||||
amount: 'Amount'
|
||||
consumed: 'Consumed'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue