Ignore:
Timestamp:
06/26/06 13:38:27 (16 years ago)
Author:
bastiaans
Message:

jobmond/jobmond.py:

  • try to guess api 'pbs' for old configs

web/addons/job_monarch/index.php:

  • changed makeHeader() to check for page_call. this will prevent multiple Jobarchive link/images in the header, by multiple calls

web/addons/job_monarch/overview.php:

  • added makeHeader() call and filter[id] set. when only 1 job is found, it now automaticly jumps to show_hosts and sets correct filter in header html
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/index.php

    r263 r266  
    8686}
    8787
    88 function makeHeader() {
     88function makeHeader( $page_call ) {
    8989
    9090        global $tpl, $grid, $context, $initgrid;
     
    317317        }
    318318
    319         if( $JOB_ARCHIVE ) {
     319        if( $JOB_ARCHIVE && $page_call == 'index' ) {
    320320                $tpl->newBlock( "search" );
    321321                $tpl->assignGlobal( "cluster_url", rawurlencode($clustername) );
     
    407407
    408408$title = "Torque Report";
    409 makeHeader();
     409makeHeader( 'index' );
    410410$tpl->assign("cluster_url", rawurlencode($clustername) );
    411411$tpl->assign("cluster", $clustername );
Note: See TracChangeset for help on using the changeset viewer.