Merge pull request #5243 from solgenomics/topic/observations_upload_catch_error
[sgn.git] / mason / tracking_activities / activity_project.mas
blob905ee4026f10fd897e65c3b6044daf8620dbc736
1 <%doc>
3 =head1 NAME
6 =head1
8 =cut
10 </%doc>
13 <%args>
14 $trial_id
15 $trial_name
16 $breeding_program_id
17 $breeding_program_name
18 $location_id
19 $location_name
20 $country_name
21 $year => undef
22 $trial_type => undef
23 $planting_date => undef
24 $harvest_date => undef
25 $trial_description => undef
26 $folder_name => undef
27 $folder_id => undef
28 $locations_by_program_json => undef
29 $trial_owner => undef
30 $vendor_id => undef
31 $parent_project_id => undef
32 $activity_type => undef
33 $field_headers => ()
34 </%args>
37 <& /util/import_javascript.mas, classes => [ 'jquery.iframe-post-form', 'CXGN.Trial', 'jstree/dist/jstree', 'CXGN.BreedersToolbox.HTMLSelect', 'moment_min', 'daterangepicker'] &>
39 <br/>
42 <& /page/page_title.mas, title=>"Details for ".$trial_name &>
44 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 0, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Project Details</h4>", info_section_subtitle => 'View and edit basic information about the project.', buttons_html => '<button class="btn btn-primary btn-sm" id="edit_tracking_activity_project_details" style="margin:3px">Edit Project Details</button>', icon_class => "glyphicon glyphicon-dashboard", info_section_id => "activity_project_details", trial_name => $trial_name, breeding_program_name => $breeding_program_name, breeding_program_id => $breeding_program_id, location_name => $location_name, country_name => $country_name, year => $year, trial_description => $trial_description, folder_name => $folder_name, folder_id => $folder_id, trial_owner => $trial_owner, vendor_id => $vendor_id, parent_project_id => $parent_project_id, activity_type => $activity_type &>
45 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 0, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Active Tracking IDs</h4>", info_section_subtitle => 'View information about ongoing tracking ids in this project.',buttons_html => '<button class="btn btn-sm btn-primary" style="margin:3px" id="generate_barcodes_project_page">Generate Identifier Barcodes</button><a href="/activity/record" class="btn btn-default">Go to Record Page</a>', icon_class => "glyphicon glyphicon-ok", info_section_id => "active_tracking_identifiers_section", trial_id => $trial_id, field_headers => $field_headers, activity_type => $activity_type &>
46 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 0, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Inactive Tracking IDs</h4>", info_section_subtitle => 'View information about completed or terminated tracking ids in this project.', icon_class => "glyphicon glyphicon-ban-circle", info_section_id => "inactive_tracking_identifiers_section", trial_id => $trial_id, field_headers => $field_headers, activity_type => $activity_type &>
48 <div id="trialIDDiv" class="trialIDDivClass" style="display:none;">
49 % print $trial_id;
50 </div>
53 <& /tracking_activities/edit_tracking_activity_project_details.mas, trial_name => $trial_name, breeding_program_id => $breeding_program_id, location_id => $location_id, year => $year, planting_date => $planting_date, harvest_date => $harvest_date, trial_description => $trial_description &>
54 <& /order/generate_identifier_barcode_dialog.mas, identifier => "", trial_id => $trial_id &>