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>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<h4 class="modal-title">
|
<h4 class="modal-title">
|
||||||
<%= t('my_modules.repository.stock_modal.title', name: @repository_row.name)%>
|
<% 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>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
|
||||||
|
|
@ -1005,6 +1005,7 @@ en:
|
||||||
provisioning: 'Provisioning'
|
provisioning: 'Provisioning'
|
||||||
stock_modal:
|
stock_modal:
|
||||||
title: 'Consume %{name}'
|
title: 'Consume %{name}'
|
||||||
|
title_edit: 'Edit %{name} consumption'
|
||||||
description: 'Enter the total amount consumed in this task.'
|
description: 'Enter the total amount consumed in this task.'
|
||||||
amount: 'Amount'
|
amount: 'Amount'
|
||||||
consumed: 'Consumed'
|
consumed: 'Consumed'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue