Changeset 771 for trunk


Ignore:
Timestamp:
08/26/15 16:10:01 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Show VLAN on IP pool listing

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r766 r771  
    318318  my $poolinfo = getBlockData($ip_dbh, $webvar{pool});
    319319  my $cidr = new NetAddr::IP $poolinfo->{block};
     320  $page->param(vlan => $poolinfo->{vlan});
    320321
    321322  # Tree navigation
  • trunk/templates/listpool.tmpl

    r687 r771  
    22<br>
    33<div class="tbltitle">Listing pool IPs for <TMPL_VAR NAME=block><br>
    4 (<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)</div>
     4(<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)<TMPL_IF vlan><br>
     5VLAN <TMPL_VAR NAME=vlan></TMPL_IF></div>
     6
    57<br>
    68
Note: See TracChangeset for help on using the changeset viewer.