18 <div class="col-sm-8">
20 <table class="table table-hover table-bordered" >
23 <td><b>Transformation Project Name</b></td>
27 % print "$trial_name";
29 % print "<span class='text-danger'>[No Transformation Project Name]</span>";
36 <td><b>Breeding Program </b></td>
38 <span id="breeding_program">
39 % if ($breeding_program_name) {
40 % print "$breeding_program_name";
43 % print "<span class='text-danger'>[No Breeding Program]</span>";
50 <td><b>Location</b></td>
52 <div id="trial_location">
53 % if ($location_name) {
54 % print "$location_name ( $country_name )";
56 % print "<span class='text-danger'>[No Location]</span>";
69 % print "<span class='text-danger'>[No Year]</span>";
75 <tr><td><b>Description</b></td>
77 <div id="trial_description">
78 % if ($trial_description) {
79 % print "$trial_description";
81 % print "<span class='text-danger'>[No Description]</span>";
88 <td><b>Folder</b></td>
90 <span id="trial_folder_div"><a href="/folder/<% $folder_id %>"><% $folder_name %></a></span>
92 <button class="btn btn-sm btn-default" style="margin:3px" id="new_folder_dialog_link">New Folder</button> <button class="btn btn-sm btn-default" style="margin:3px" id="open_folder_dialog_link">Change Folder</button>
97 <td><b>Created by</b></td>
99 <div id="trial_owner">
100 % if ($trial_owner) {
101 % print "$trial_owner";
103 % print "<span class='text-danger'>[N/A]</span>";
111 <div class="col-sm-4">
112 <div class="well well-sm">
113 <& /util/barcode.mas, identifier => "$identifier_prefix"."$trial_id", trial_id=> "$trial_id", trial_name=> "$trial_name", format=>"trial_qrcode" &>
117 <button class="btn btn-sm btn-primary" style="margin:3px" id="new_transformation_identifier_link">Add Transformation ID</button>
119 <& /transformation/add_transformation_identifier_dialog.mas, trial_id => $trial_id &>
123 jQuery(document).ready(function($) {
125 jQuery('#new_transformation_identifier_link').click(function() {
127 jQuery("#add_transformation_identifier_dialog").modal("show");