format numbers in subnet utilization report
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
[% IF NOT results.has_rows %]
 | 
			
		||||
<div class="span2 alert alert-info">No matching records.</div>
 | 
			
		||||
[% ELSE %]
 | 
			
		||||
[% USE Number.Format %]
 | 
			
		||||
<table id="data-table" class="table table-striped table-bordered" width="100%" cellspacing="0">
 | 
			
		||||
  <thead>
 | 
			
		||||
    <tr>
 | 
			
		||||
@@ -15,8 +16,8 @@
 | 
			
		||||
    <tr>
 | 
			
		||||
      <td class="nd_center-cell"><a href="[% uri_for('/report/ipinventory') %]?subnet=[% row.subnet | uri %]&daterange=[% daterange | uri %]&limit=[% row.subnet_size | uri %]">
 | 
			
		||||
               [% row.subnet | html_entity %]</a></td>
 | 
			
		||||
      <td class="nd_center-cell">[% row.subnet_size | html_entity %]</td>
 | 
			
		||||
      <td class="nd_center-cell">[% row.active | html_entity %]</td>
 | 
			
		||||
      <td class="nd_center-cell">[% row.subnet_size | format_number %]</td>
 | 
			
		||||
      <td class="nd_center-cell">[% row.active | format_number %]</td>
 | 
			
		||||
      <td class="nd_center-cell">[% row.percent | html_entity %]</td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    [% END %]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user