21 <div class="col-sm-12">
23 <table class="table table-hover table-bordered" >
26 <td><b>Tracking Activity Project Name</b></td>
30 % print "$trial_name";
32 % print "<span class='text-danger'>[No Tracking Activity Project Name]</span>";
39 <td><b>Record Type</b></td>
41 <div id="activity_type">
42 % if ($activity_type eq 'transformation') {
43 % print 'Transformation';
44 % } elsif ($activity_type eq 'tissue_culture') {
45 % print 'Tissue Culture';
47 % print "<span class='text-danger'>[No Record Type]</span>";
54 <td><b>Breeding Program </b></td>
56 <span id="breeding_program">
57 % if ($breeding_program_name) {
58 % print "$breeding_program_name";
61 % print "<span class='text-danger'>[No Breeding Program]</span>";
68 <td><b>Location</b></td>
70 <div id="trial_location">
71 % if ($location_name && ($location_name ne '[Computation]')) {
72 % print "$location_name ( $country_name )";
74 % print "<span class='text-danger'>[No Location]</span>";
87 % print "<span class='text-danger'>[No Year]</span>";
93 <tr><td><b>Description</b></td>
95 % if ($trial_description) {
96 % print "<div id='trial_description' style='white-space: pre-wrap;'>$trial_description</div>";
98 % print "<div id='trial_description'><span class='text-danger'>[No Description]</span></div>";
104 <td><b>Folder</b></td>
106 <span id="trial_folder_div"><a href="/folder/<% $folder_id %>"><% $folder_name %></a></span>
108 <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>
113 <td><b>Created by</b></td>
115 <div id="trial_owner">
116 % if ($trial_owner) {
117 % print "$trial_owner";
119 % print "<span class='text-danger'>[N/A]</span>";
128 % if (!$vendor_id && !$parent_project_id) {
129 <button class="btn btn-sm btn-primary" style="margin:3px" id="generate_identifiers_link">Generate Tracking Identifiers</button>
133 % if ($parent_project_id) {
135 <a href='/breeders/trial/<%$parent_project_id%>'><p>Go to Transformation Page</p></a>
140 <& /tracking_activities/generate_tracking_identifiers_dialog.mas, trial_name => $trial_name, breeding_program_name => $breeding_program_name &>