add event relations to time ontology and related code
[sgn.git] / mason / breeders_toolbox / trial_trait.mas
blob1fbfa6588dd6dd1ec7e500abf9dd9cb033b8bcc4
1 <%doc>
3 =head1 NAME
5 breeders_toolbox/trial_trait.mas - trial specific trait data display
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
17 $trial_id
18 $trial_name
19 $trait_id
20 $trait_name
22 </%args>
24 <%perl>
26 $trait_name = ucfirst($trait_name);
28 </%perl>
30 <& /page/page_title.mas, 
31    title => "$trait_name in $trial_name"
34 <&| /page/info_section.mas,
35    title => "Trait phenotype data frequency distribution from $trial_name"
38   <div id="histogram_message"  style="font-weight:bold;text-align:center;color:#A7C942">
39     <p>Loading frequency distribution graph...</p>
40   </div>
43   <& /solgs/population/trait_phenotype_histogram.mas,
44      trial_id => $trial_id,
45      trait_id => $trait_id
46     &>
48 </&>