Closed rssidlowski closed 9 years ago
delete sample warning message has been updated
Message is:
Update to:
Warning: This sample may be linked to other investigations. Are you sure you want to delete this sample?
So, we cannot display the other investigation in this message?
updated, and if the sample is associated with other investigations, the message will show investigation id
This is not working as described. See below that the sample is associated with two investigations:
When I attempt to unlink I see the following message:
And then it is confirmed.
you are doing wrong workflow. "Unlink" sample to investigation no means "delete" this sample. Delete sample function is in the sample detail page, there is a Delete Sample button for this.
You are correct. This is working fine.
After linking a sample to an investigation, should prompt if user attempts to delete the sample. Current message is displayed:![sampledeletemsg](https://cloud.githubusercontent.com/assets/5039052/4791558/4509b732-5dde-11e4-9170-b91783b804c7.GIF)
When user clicks on the 'delete sample', prompt with message: If sample is only associated with one investigation only present this message: "Are you sure you want to delete this sample?" If sample is associated with more than one investigation present the following: "This sample is associated with the following investigations: --List investigation name and complainant dates here
Are you sure you want to delete this sample?"