From 3df11a42575bbf13f32f95c6a2c40cc1c4af7f71 Mon Sep 17 00:00:00 2001 From: Ramkrishna Chakrabarty Date: Thu, 25 Feb 2010 11:28:14 -0500 Subject: [PATCH] lims: deactivate the enter key in requests page so that the scanner can be used to enter barcodes for each sample --- templates/admin/requests/show_request.mako | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/admin/requests/show_request.mako b/templates/admin/requests/show_request.mako index 1ef092b3f5c..3217f867bf4 100644 --- a/templates/admin/requests/show_request.mako +++ b/templates/admin/requests/show_request.mako @@ -41,15 +41,24 @@ $(document).ready(function(){ }); }); + + + + %if request.rejected(): ${render_msg( "Reason for rejection: "+request.last_comment(), "warning" )} %endif