[Bio] / RAST / RASTShared.pm Repository:
ViewVC logotype

Diff of /RAST/RASTShared.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Mon Apr 14 19:38:34 2008 UTC revision 1.4, Thu Dec 18 12:57:38 2008 UTC
# Line 13  Line 13 
13    my ($menu, $job) = @_;    my ($menu, $job) = @_;
14    
15    if ($job) {    if ($job) {
16      my $jobmenu = 'Job #'.$job->id;      my $jobmenu = 'Manage Job #'.$job->id;
17      $menu->add_category($jobmenu, "?page=JobDetails&job=".$job->id);      $menu->add_category($jobmenu, "?page=JobDetails&job=".$job->id);
18      $menu->add_entry($jobmenu, 'Debug this job',      $menu->add_entry($jobmenu, 'Debug this job',
19        'rast.cgi?page=JobDebugger&job='.$job->id, undef, [ 'debug' ]);        'rast.cgi?page=JobDebugger&job='.$job->id, undef, [ 'debug' ]);
20      $menu->add_entry($jobmenu, 'Change job priority',      $menu->add_entry($jobmenu, 'Change job priority',
21        'rast.cgi?page=JobPriority&job='.$job->id, undef, [ 'debug' ]);        'rast.cgi?page=JobPriority&job='.$job->id, undef, [ 'debug' ]);
22      $menu->add_entry($jobmenu, 'Delete this job',      $menu->add_entry($jobmenu, 'Delete this job',
23        'rast.cgi?page=JobDelete&job='.$job->id, undef, ['delete', 'genome', $job->id ]);        'rast.cgi?page=JobDelete&job='.$job->id, undef, ['delete', 'genome', $job->genome_id ]);
24        $menu->add_entry($jobmenu, 'Compare this job', 'rast.cgi?page=GenomeStatistics&job='.$job->id, undef, [ 'debug' ]);
25    }    }
26    
27    return 1;    return 1;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3