Skip to content

Commit a9e7faa

Browse files
Merge pull request #352 from biocore/csymons_admin_remove_samples
Allow Admins to Remove Samples
2 parents 565c75c + 7c4f6a6 commit a9e7faa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

microsetta_interface/templates/sample.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<script>
2424
function verifyDissociateSample() {
25-
let confirmMsg = "{{ _('Do you really want to remove this sample from this source?') }} " +
25+
let confirmMsg = "{{ _('Do you really want to remove this sample from this profile?') }} " +
2626
"{{ _('Doing so will remove any collection info saved for this sample and will') }} " +
2727
"{{ _('unlink it from all surveys.') }}";
2828
if (confirm(confirmMsg)) {
@@ -352,7 +352,7 @@
352352
</div>
353353
<div class="row">
354354
<div class="col-12 mt-4 text-end">
355-
{% if not sample.sample_remove_locked and not admin_mode %}
355+
{% if not sample.sample_remove_locked %}
356356
<button class="btn btn-white-red-border m-2" name="remove_button" onClick="return verifyDissociateSample();">{{ _('Remove') }}</button>
357357
{% endif %}
358358
{% if sample.sample_edit_locked and not admin_mode %}

0 commit comments

Comments
 (0)