Merge pull request #5230 from solgenomics/topic/open_pollinated
[sgn.git] / mason / feature / page_title.mas
blob53c8de8cca2ce93d319e4b2421fc78e9098d21a7
1 <%args>
2   $feature
3 </%args>
4 % if( $feature->organism && $feature->organism->species && $feature->organism->species !~ /^(any|all|none|null|nill?|\d+)$/i ) {
5   <& /page/page_title.mas, title => '<i>'.$feature->organism->species.'</i> '.type_name($feature).' '. $feature->id &>
6 % } else {
7   <& /page/page_title.mas, title => type_name($feature,'caps').' '. $feature->id &>
8 % }
9 <%once>
10     use SGN::View::Feature qw/ type_name /;
11 </%once>