Changeset 827 for trunk


Ignore:
Timestamp:
04/08/16 13:20:07 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Commit refined showsubs2 template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/showsubs2.tmpl

    r711 r827  
    1212<td class="heading">Type</td>
    1313<td class="heading">CustID</td>
    14 <td class="heading">SWIPed?</td>
     14<td class="heading">Free stats</td>
    1515<td class="heading">Description/Name</td>
    1616</tr>
     
    3030<td><TMPL_VAR NAME=type></td>
    3131<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_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></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>
    3334<td><TMPL_VAR NAME=desc></td>
    3435</tr>
    35 <TMPL_IF hassubs>
    36 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
    37 <td colspan=4>
    38 Containers: <TMPL_VAR NAME=subcontainers>, Allocations: <TMPL_VAR NAME=suballocs>, Free: <TMPL_VAR NAME=subfree>, Largest free: <TMPL_VAR ESCAPE=HTML NAME=lfree>
    39 </td><td colspan=2></td></tr>
    40 </TMPL_IF>
    4136</TMPL_LOOP>
    4237</table>
     
    4944<fieldset><legend class="noshow">&nbsp;</legend>
    5045<input type=hidden name=action value="delete">
    51 <input type=hidden name=block value="<TMPL_VAR NAME=del_id>">
     46<input type=hidden name=block value="<TMPL_VAR NAME=self_id>">
    5247<input type=hidden name=basetype value="b">
    5348<input type=submit value=" Remove this block ">
Note: See TracChangeset for help on using the changeset viewer.