7 /locus/edits_info.mas - a component for printing locus edit dates and person
25 Naama Menda <nm249@cornell.edu>
40 use CXGN::People::Person;
41 use CXGN::Page::FormattingHelpers qw /columnar_table_html / ;
45 my @history_objs = $locus->show_history(); #array of locus_history objects
47 foreach my $h (@history_objs) {
48 my $created_date = $h->get_create_date();
49 $created_date = substr $created_date, 0, 10;
50 my $history_id = $h->{locus_history_id};
51 my $updated_by_id = $h->{updated_by};
53 CXGN::People::Person->new( $locus->get_dbh(), $updated_by_id );
54 my $u_first_name = $updated->get_first_name();
55 my $u_last_name = $updated->get_last_name();
57 qq |<a href="/solpeople/personal-info.pl?sp_person_id=$updated_by_id">$u_first_name $u_last_name</a> ($created_date)|;
61 $h->get_locus_symbol, $h->get_locus_name,
62 $h->get_gene_activity, $h->get_description,
63 $h->get_linkage_group, $h->get_lg_arm,
71 $history_data .= columnar_table_html(
73 'Symbol', 'Name', 'Activity', 'Description',
74 'Chromosome', 'Arm', 'Updated by',