Changed trials-in-common page to use a single database query to get analyses. Changed...
[sgn.git] / mason / homepage / tomato_genome_info.mas
blob819850d782c4701368832df26f527c5f971e5e61
2 <%doc>
4 Mason module that displays div of tomato information, based on the contents of a file.
5 Takes no arguments.
7 </%doc>
9 % if( -r $file ) {
10   <% $m->file( $file ) %>
11 % } else {
12  <div class="ghosted">Tomato genome information temporarily unavailable</div>
13 % }
16 <%init>
17 use File::Spec;
18 my $file = File::Spec->catfile( $c->get_conf('homepage_files_dir'), 'tomato_genome_info.txt');
19 </%init>