improve message for deleting sample/report items

This commit is contained in:
mlorb 2018-03-23 14:39:09 +01:00
parent 2356b78044
commit 5589b27883
3 changed files with 3 additions and 7 deletions

View file

@ -4,10 +4,9 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><%= t("repositories.modal_delete_record.title") %></h4>
<%= t("repositories.modal_delete_record.notice") %>
</div>
<div class="modal-body">
<%= t("repositories.modal_delete_record.other_records") %>
<%= t("repositories.modal_delete_record.notice") %>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="onClickDeleteRecord();">

View file

@ -4,10 +4,9 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title"><%= t("samples.modal_delete.title") %></h4>
<%= t("samples.modal_delete.notice") %>
</div>
<div class="modal-body">
<%= t("samples.modal_delete.other_samples") %>
<%= t("samples.modal_delete.notice") %>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="$('.delete_samples_submit').click();"><%= t("samples.modal_delete.delete") %></button>

View file

@ -940,7 +940,6 @@ en:
modal_delete_record:
title: "Delete items"
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)"
modal_delete_column:
title: "Delete a column"
@ -1017,7 +1016,6 @@ en:
modal_delete:
title: "Delete 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"
modal_add_custom_field:
title_html: "Add new column to team <strong>%{team}</strong>"