Changeset 2083
- Timestamp:
- Oct 18, 2013, 7:45:22 AM (9 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/reports/case_summary.jsp
r2081 r2083 105 105 } 106 106 107 // Style the message as a 'fail information' message 108 function asFailInfo(message, icon) 109 { 110 message = '<span class="fail-info">' + message + ' ' + '<img src="../images/'+icon+'"></span>'; 111 return message; 112 } 113 107 114 function asConsent(consent, consentDate) 108 115 { … … 564 571 addColumn('mrna.registrationDate', formatDate(r.registrationDate)); 565 572 addColumn('mrna.storageBox', asBioPlateLocation(r.bioWell)+asFileLink(r.platePdf, 'pdffile.png')); 573 addColumn('mrna.result', (r.result && r.result != 'Successful') ? asFailInfo(r.result, 'error.png') : null); 566 574 addColumn('mrna.extractionDate', formatDate(r.extractionDate)); 567 575 addColumn('mrna.usedQuantity', formatQuantity(r.usedQuantity, null, ' µg')); … … 592 600 addColumn('cdna.registrationDate', formatDate(r.registrationDate)); 593 601 addColumn('cdna.storageBox', asBioPlateLocation(r.bioWell)); 602 addColumn('cdna.result', (r.result && r.result != 'Successful') ? asFailInfo(r.result, 'error.png') : null); 594 603 addColumn('cdna.extractionDate', formatDate(r.extractionDate)); 595 604 } … … 619 628 addColumn('lib.registrationDate', formatDate(r.registrationDate)); 620 629 addColumn('lib.storageBox', asBioPlateLocation(r.bioWell)); 630 addColumn('lib.result', (r.result && r.result != 'Successful') ? asFailInfo(r.result, 'error.png') : null); 621 631 addColumn('lib.extractionDate', formatDate(r.extractionDate)); 622 632 addColumn('lib.remainingQuantity', formatQuantity(r.remainingQuantity, 0.001, ' ng')); … … 1132 1142 <th>Work plate</th> 1133 1143 </tr> 1144 <tr id="mrna.result" class="dynamic-column"> 1145 <th>Plate result</th> 1146 </tr> 1134 1147 <tr id="mrna.extractionDate"> 1135 1148 <th>Cleanup date</th> … … 1158 1171 <th>Work plate</th> 1159 1172 </tr> 1173 <tr id="cdna.result" class="dynamic-column"> 1174 <th>Plate result</th> 1175 </tr> 1160 1176 <tr id="cdna.extractionDate"> 1161 1177 <th>Synthesis date</th> … … 1181 1197 <th>Library plate</th> 1182 1198 </tr> 1199 <tr id="lib.result" class="dynamic-column"> 1200 <th>Plate result</th> 1201 </tr> 1183 1202 <tr id="lib.extractionDate"> 1184 1203 <th>Cleanup date</th> -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/CaseSummaryServlet.java
r2081 r2083 521 521 Date cleanupDate = (Date) Annotationtype.CLEANUP_DATE.getAnnotationValue(dc, plate); 522 522 mrna.setAnnotation("extractionDate", Reggie.CONVERTER_DATE_TO_STRING.convert(cleanupDate)); 523 // Get BioPlate PlateProcessResult annotation 524 String result = (String) Annotationtype.PLATE_PROCESS_RESULT.getAnnotationValue(dc, plate); 525 mrna.setAnnotation("result", result); 523 526 } 524 527 … … 534 537 Date synthesisDate = (Date) Annotationtype.SYNTHESIS_DATE.getAnnotationValue(dc, plate); 535 538 cdna.setAnnotation("extractionDate", Reggie.CONVERTER_DATE_TO_STRING.convert(synthesisDate)); 539 // Get BioPlate PlateProcessResult annotation 540 String result = (String) Annotationtype.PLATE_PROCESS_RESULT.getAnnotationValue(dc, plate); 541 cdna.setAnnotation("result", result); 536 542 } 537 543 … … 552 558 lib.loadAnnotations(dc, "ca_molarity", Annotationtype.CA_MOLARITY, null); 553 559 lib.loadAnnotations(dc, "qubitconc", Annotationtype.QUBIT_CONC, null); 560 // Get BioPlate PlateProcessResult annotation 561 String result = (String) Annotationtype.PLATE_PROCESS_RESULT.getAnnotationValue(dc, plate); 562 lib.setAnnotation("result", result); 554 563 } 555 564
Note: See TracChangeset
for help on using the changeset viewer.