6 <div class="modal fade" id="discard_seedlot_usage_info_dialog" name="discard_seedlot_usage_info_dialog" tabindex="-1" role="dialog" aria-labelledby="discardSeedlotUsageInfoDialog">
7 <div class="modal-dialog modal-lg " role="document">
8 <div class="modal-content">
9 <div class="well well-lg">
10 <div class="panel panel-default">
11 <div class="panel-body">
12 <div class="modal-header" style="text-align: center">
13 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
14 <h4 class="modal-title" id="discardUsageInfoDialog">Marking Seedlots as DISCARDED and Undo Options</h4>
16 <div class="modal-body">
17 <div class="container-fluid">
18 <p> Only users with curator role can mark seedlots as "DISCARDED" or undo discarding seedlots.</p>
21 Discarding vs. Deleting Seedlots:
23 <p> Discarding a seedlot is different from deleting a seedlot.
24 <li>Deleting a seedlot permanently removes that seedlot and all associated transactions from database. Discarding a seedlot inactivates the seedlot, but information related to that seedlot is still kept in the database.</li>
25 <li>Amount/Weight of discarded seedlot is labeled as "DISCARDED".</li>
26 <li>Discarding a seedlot can be reversed with UNDO function, but deletion a seedlot cannot be undone.</li>
27 <li>Discarded seedlots still can be viewed in seedlot details pages and are searchable. However, links for adding new transaction, editing details and transaction are removed.</li>
28 <li>Discarded seedlots are excluded from dropdown list for adding new transactions.</li>
31 How to Mark Seedlot as DISCARDED:
33 <li>Using a List: Several seedlots can be discarded at once by using a list with seedlots list type. The link can be found at the buttom of Manage Seedlots (Available Seedlots) page.</li>
34 <li>Discarding single seedlot: The link can be found at the buttom of Seedlot Details page.</li>
37 UNDO Discarding seedlots:
39 <p>Discarded seedlot can be reversed by using UNDO option at the buttom of Seedlot Details page </p>
41 <div class="modal-footer">
42 <button id="close_discarded_seedlot_usage_dialog" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
55 hr.solid { border-top: 3px solid #bbb; }
61 jQuery(document).ready(function(){
63 jQuery("[name='discard_seedlot_usage_info']").click(function() {
64 jQuery('#discard_seedlot_usage_info_dialog').modal("show");