Changeset 931


Ignore:
Timestamp:
08/06/13 14:45:34 (7 years ago)
Author:
ramonb
Message:

job_monarch/templates/overview.tpl:

  • renamed nodes field to: hosts

job_monarch/overview.php:

  • added sortby hosts
  • see #169
Location:
branches/1.0/web/addons/job_monarch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/web/addons/job_monarch/overview.php

    r875 r931  
    235235                {
    236236                    $nodes = count( $jobattrs['nodes'] );
     237
     238                    $job_hosts = $jobattrs['nodes'][0];
     239
    237240                }
    238241                else
    239242                {
    240243                    $nodes = $jobattrs['nodes'];
     244                    $job_hosts = '';
    241245                }
    242246
     
    279283                    case "nodes":
    280284                        $sorted[$jobid] = $nodes;
     285                        break;
     286
     287                    case "hosts":
     288                        $sorted[$jobid] = $job_hosts;
    281289                        break;
    282290
  • branches/1.0/web/addons/job_monarch/templates/overview.tpl

    r876 r931  
    180180{/if}
    181181{if "$column_header_nodes" == "yes"}
    182 <TH WIDTH="11%"><B><A HREF="#" onClick="setSort( 'nodes' )" ALT="Nodes" TITLE="Nodes">Nodes</A></B></TH>
     182<TH WIDTH="11%"><B><A HREF="#" onClick="setSort( 'hosts' )" ALT="Hosts" TITLE="Hosts">Hosts</A></B></TH>
    183183{/if}
    184184<TH><B><A HREF="#" onClick="setSort( 'start' )">Started</A></B></TH>
Note: See TracChangeset for help on using the changeset viewer.