galaxy-dist commit 569483091092: Keep the sample's bar code incormation when editn the sample row in the non-admin user view.
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Greg Von Kuster <greg@bx.psu.edu> # Date 1288731289 14400 # Node ID 56948309109207f932a113e464409432c7a38df7 # Parent 27c152bb441a0136720dbbc0c7cb293e581b8f5f Keep the sample's bar code incormation when editn the sample row in the non-admin user view. --- a/templates/requests/common/common.mako +++ b/templates/requests/common/common.mako @@ -153,6 +153,7 @@ <input type="text" name="sample_${current_sample_index}_barcode" value="${current_sample['barcode']}" size="10"/> %else: ${current_sample['barcode']} + <input type="hidden" name="sample_${current_sample_index}_barcode" value="${current_sample['barcode']}"/> %endif </td> %endif @@ -261,7 +262,7 @@ %elif sample: <tr><td>${current_sample_name}</td> - %if is_submitted or is_complete: + %if display_bar_code: <td>${current_sample_barcode}</td> %endif %if is_unsubmitted:
participants (1)
-
commits-noreply@bitbucket.org