<!-- $o = ORM::factory('STGPOOL') -->
<table class="box-full">
	<tr>
		<td class="head" colspan="5">Information for this Storage Pool</td>
	</tr>
	<tr>
		<td class="spacer">&nbsp;</td>
	</tr>
	<tr>
		<td style="width: 40%;">Description</td>
		<td style="width: 60%;" class="data"><?php echo $o->display('DESCRIPTION'); ?></td>
	</tr>
	<tr>
		<td>Type</td>
		<td class="data"><?php echo $o->display('POOLTYPE'); ?></td>
	</tr>
	<tr>
		<td>Est Capacity</td>
		<td class="data"><?php echo $o->display('EST_CAPACITY_MB'); ?></td>
	</tr>
	<tr>
		<td>Util %</td>
		<td class="data"><?php echo $o->display('PCT_UTILIZED'); ?></td>
	</tr>
	<?php if ($o->DEVCLASS != 'DISK') { ?>
	<tr>
		<td>Scratch Vols</td>
		<td class="data"><?php printf('%s/%s',$o->NUMSCRATCHUSED,$o->MAXSCRATCH); ?></td>
	</tr>
	<tr>
		<td>Volume Reuse Delay</td>
		<td class="data"><?php echo $o->display('REUSEDELAY'); ?></td>
	</tr>
	<?php } ?>
	<tr>
		<td>Access</td>
		<td class="data"><?php echo $o->display('ACCESS'); ?></td>
	</tr>
	<tr>
		<td>Max Object Size</td>
		<td class="data"><?php echo $o->display('MAXSIZE'); ?></td>
	</tr>
	<tr>
		<td>Collate</td>
		<td class="data"><?php echo $o->display('COLLOCATE'); ?></td>
	</tr>
	<?php if ($o->DEVCLASS === 'DISK') { ?>
	<tr>
		<td>Cache Migrated Files</td>
		<td class="data"><?php echo $o->display('CACHE'); ?></td>
	</tr>
	<?php } else { ?>
	<tr>
		<td>Reclaim %</td>
		<td class="data"><?php echo $o->display('RECLAIM'); ?></td>
	</tr>
	<tr>
		<td>Reclaim Processes</td>
		<td class="data"><?php echo $o->display('RECLAIMPROCESS'); ?></td>
	</tr>
	<tr>
		<td>Reclaim Storage Pool</td>
		<td class="data"><?php echo $o->display('RECLAIMSTGPOOL'); ?></td>
	</tr>
	<?php } ?>
	<tr>
		<td class="spacer">&nbsp;</td>
	</tr>
	<tr>
		<td>Next Pool</td>
	<?php if ($o->NEXTSTGPOOL AND $o->POOLTYPE === 'PRIMARY') { ?>
		<td class="data"><?php echo HTML::anchor('stgpool/detail/'.$o->NEXTSTGPOOL,$o->display('NEXTSTGPOOL')); ?></td>
	</tr>
	<tr>
		<td>Migratable %</td>
		<td class="data"><?php echo $o->display('PCT_MIGR'); ?></td>
	</tr>
	<tr>
		<td>Hi/Low Migration</td>
		<td class="data"><?php printf('%s/%s',$o->HIGHMIG,$o->LOWMIG); ?></td>
	</tr>
	<tr>
		<td>Migration Delay</td>
		<td class="data"><?php echo $o->display('MIGDELAY'); ?></td>
	</tr>
	<tr>
		<td>Migration Continue</td>
		<td class="data"><?php echo $o->display('MIGCONTINUE'); ?></td>
	</tr>
	<tr>
		<td>Last Migration Time</td>
		<td class="data"><?php echo $o->display('MIGR_SECONDS'); ?></td>
	</tr>
	<tr>
		<td>Last Migration Data</td>
		<td class="data"><?php echo $o->display('MIGR_MB'); ?></td>
	<?php } elseif (! $o->NEXTSTGPOOL AND $o->POOLTYPE === 'PRIMARY') { ?>
		<td class="data"><?php echo _('No migration enabled'); ?></td>
	<?php } ?>
	</tr>
	<tr>
		<td class="spacer">&nbsp;</td>
	</tr>
	<tr>
		<td>Active Data Pools</td>
		<td class="data"><?php echo $o->display('ACTIVEDATASTGPOOLS'); ?></td>
	</tr>
	<tr>
		<td>Copy Pools</td>
		<td class="data"><?php echo $o->display('COPYSTGPOOLS'); ?></td>
	</tr>
	<tr>
		<td>Copy Continue</td>
		<td class="data"><?php echo $o->display('COPYCONTINUE'); ?></td>
	</tr>
</table>
