mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
improve message for deleting sample/report items
This commit is contained in:
parent
2356b78044
commit
5589b27883
3 changed files with 3 additions and 7 deletions
|
@ -4,10 +4,9 @@
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 class="modal-title"><%= t("repositories.modal_delete_record.title") %></h4>
|
<h4 class="modal-title"><%= t("repositories.modal_delete_record.title") %></h4>
|
||||||
<%= t("repositories.modal_delete_record.notice") %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<%= t("repositories.modal_delete_record.other_records") %>
|
<%= t("repositories.modal_delete_record.notice") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="onClickDeleteRecord();">
|
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="onClickDeleteRecord();">
|
||||||
|
|
|
@ -4,10 +4,9 @@
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 class="modal-title"><%= t("samples.modal_delete.title") %></h4>
|
<h4 class="modal-title"><%= t("samples.modal_delete.title") %></h4>
|
||||||
<%= t("samples.modal_delete.notice") %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<%= t("samples.modal_delete.other_samples") %>
|
<%= t("samples.modal_delete.notice") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" onclick="$('.delete_samples_submit').click();"><%= t("samples.modal_delete.delete") %></button>
|
<button type="button" class="btn btn-primary" onclick="$('.delete_samples_submit').click();"><%= t("samples.modal_delete.delete") %></button>
|
||||||
|
|
|
@ -940,7 +940,6 @@ en:
|
||||||
modal_delete_record:
|
modal_delete_record:
|
||||||
title: "Delete items"
|
title: "Delete items"
|
||||||
notice: "Are you sure you want to delete the selected item(s)?"
|
notice: "Are you sure you want to delete the selected item(s)?"
|
||||||
other_records: "Only items created by you will be deleted."
|
|
||||||
delete: "Delete item(s)"
|
delete: "Delete item(s)"
|
||||||
modal_delete_column:
|
modal_delete_column:
|
||||||
title: "Delete a column"
|
title: "Delete a column"
|
||||||
|
@ -1017,7 +1016,6 @@ en:
|
||||||
modal_delete:
|
modal_delete:
|
||||||
title: "Delete samples"
|
title: "Delete samples"
|
||||||
notice: "Are you sure you want to delete the selected samples?"
|
notice: "Are you sure you want to delete the selected samples?"
|
||||||
other_samples: "Only samples created by you will be deleted."
|
|
||||||
delete: "Delete samples"
|
delete: "Delete samples"
|
||||||
modal_add_custom_field:
|
modal_add_custom_field:
|
||||||
title_html: "Add new column to team <strong>%{team}</strong>"
|
title_html: "Add new column to team <strong>%{team}</strong>"
|
||||||
|
|
Loading…
Reference in a new issue