Changeset 934 for branches/1.1/web


Ignore:
Timestamp:
08/06/13 15:44:46 (7 years ago)
Author:
ramonb
Message:

job_monarch/templates/overview.tpl:

  • renamed nodes field to: hosts

job_monarch/overview.php:

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

Legend:

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

    r932 r934  
    225225                {
    226226                    $nodes = count( $jobattrs['nodes'] );
     227
     228                    $job_hosts = $jobattrs['nodes'][0];
    227229                }
    228230                else
    229231                {
    230232                    $nodes = $jobattrs['nodes'];
     233
     234                    $job_hosts = '';
    231235                }
    232236
     
    269273                    case "nodes":
    270274                        $sorted[$jobid] = $nodes;
     275                        break;
     276
     277                    case "hosts":
     278                        $sorted[$jobid] = $job_hosts;
    271279                        break;
    272280
  • branches/1.1/web/addons/job_monarch/templates/overview.tpl

    r876 r934  
    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.