Changeset 913 for trunk/templates


Ignore:
Timestamp:
11/02/17 16:24:13 (7 years ago)
Author:
Kris Deugau
Message:

/trunk

Add IP count and percent-free to the heading and showsubs layout 2 by request

Location:
trunk/templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/listpool.tmpl

    r771 r913  
    33<div class="tbltitle">Listing pool IPs for <TMPL_VAR NAME=block><br>
    44(<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)<TMPL_IF vlan><br>
    5 VLAN <TMPL_VAR NAME=vlan></TMPL_IF></div>
     5VLAN <TMPL_VAR NAME=vlan></TMPL_IF>
     6<TMPL_VAR NAME=poolpctfree>% free</div>
    67
    78<br>
  • trunk/templates/showsubs.tmpl

    r692 r913  
    11<div class="tbltitle">Subnets in <TMPL_VAR NAME=block>
    2 (<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=self_id>&amp;basetype=b">Edit</a>)
     2(<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=self_id>&amp;basetype=b">Edit</a>)<TMPL_IF blockpctfree><br><TMPL_VAR NAME=blockpctfree>% free</TMPL_IF>
    33</div>
    44
  • trunk/templates/showsubs2.tmpl

    r827 r913  
    11<div class="tbltitle">Subnets in <TMPL_VAR NAME=block>
    2 (<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=self_id>&amp;basetype=b">Edit</a>)
     2(<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;id=<TMPL_VAR NAME=self_id>&amp;basetype=b">Edit</a>)<TMPL_IF blockpctfree><br><TMPL_VAR NAME=blockpctfree>% free</TMPL_IF>
     3
    34</div>
    45<br>
     
    3031<td><TMPL_VAR NAME=type></td>
    3132<td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi?stype=q&amp;input=<TMPL_VAR NAME=custid>"><TMPL_VAR NAME=custid></a></td>
    32 <td><TMPL_IF hassubs><TMPL_VAR NAME=subfree> free<TMPL_IF subfree>, largest <TMPL_VAR ESCAPE=HTML NAME=lfree></TMPL_IF></TMPL_IF>
     33<td><TMPL_IF hassubs><TMPL_VAR NAME=subfree> free<TMPL_IF subfree>, largest <TMPL_VAR ESCAPE=HTML NAME=lfree></TMPL_IF></TMPL_IF><TMPL_IF pctfree><TMPL_IF hassubs>, </TMPL_IF><TMPL_VAR NAME=pctfree>%</TMPL_IF>
    3334</td>
    3435<td><TMPL_VAR NAME=desc></td>
Note: See TracChangeset for help on using the changeset viewer.