6 /markers/attributions.mas - a Mason component displaying attribution information
16 $marker - a CXGN::Marker object.
22 Lukas Mueller <lam87@cornell.edu>
34 my $marker_id = $marker->marker_id();
36 my $att = CXGN::Metadata::Attribution->new("sgn","markers",$marker_id);
39 my $table_name = 'markers';
40 my $row_id = $marker_id;
42 my @a = $att -> get_attributions();
46 if ($a->{role}) { $html .= "<h4>$a->{role}</h4>"; }
47 if ($a->{person}->get_last_name()) { $html .= "<b>Name:</b> ".$a->{person}->get_first_name()." ".$a->{person}->get_last_name()."<br />"; }
48 if ($a->{organization}) { $html .= "<b>Organization:</b> ".$a->{organization}." <br />"; }
49 if ($a->{project}) { $html .= "<b>Project:</b> ".$a->{project}." <br /><br />"; }
53 $html = CXGN::Page::FormattingHelpers::blue_section_html("Marker Submitted By", $html);