More linking for volumes
This commit is contained in:
parent
d0095bb159
commit
eafb80f7fc
@ -36,7 +36,7 @@
|
|||||||
<?php foreach ($o->getStorageModeVols($ctype,$type,$spo) as $vuo) { ?>
|
<?php foreach ($o->getStorageModeVols($ctype,$type,$spo) as $vuo) { ?>
|
||||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||||
<td colspan="3"> </td>
|
<td colspan="3"> </td>
|
||||||
<td class="data"><?php echo $vuo->VOLUME_NAME; ?></td>
|
<td class="data"><?php echo HTML::anchor('volume/detail/'.$vuo->VOLUME_NAME,$vuo->display('VOLUME_NAME')); ?></td>
|
||||||
<td class="data"><?php echo $vuo->VOLUME->display('STATUS'); ?></td>
|
<td class="data"><?php echo $vuo->VOLUME->display('STATUS'); ?></td>
|
||||||
<td class="data"><?php echo $vuo->VOLUME->display('ACCESS'); ?></td>
|
<td class="data"><?php echo $vuo->VOLUME->display('ACCESS'); ?></td>
|
||||||
<td class="data"><?php echo $vuo->VOLUME->isScratch() ? 'Y' : 'N'; ?></td>
|
<td class="data"><?php echo $vuo->VOLUME->isScratch() ? 'Y' : 'N'; ?></td>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<tr class="subhead"><td colspan="10"><?php printf('%s: Reclaim: %s%%, Scratch Usage: %s/%s, Device Type: %s',$spo->STGPOOL_NAME,$spo->RECLAIM,$spo->NUMSCRATCHUSED,$spo->MAXSCRATCH,$spo->DEVCLASSES->DEVTYPE); ?></td></tr>
|
<tr class="subhead"><td colspan="10"><?php printf('%s: Reclaim: %s%%, Scratch Usage: %s/%s, Device Type: %s',$spo->STGPOOL_NAME,$spo->RECLAIM,$spo->NUMSCRATCHUSED,$spo->MAXSCRATCH,$spo->DEVCLASSES->DEVTYPE); ?></td></tr>
|
||||||
<?php foreach ($vols as $vo) { ?>
|
<?php foreach ($vols as $vo) { ?>
|
||||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||||
<td class="data"><?php echo $vo->VOLUME_NAME; ?></td>
|
<td class="data"><?php echo HTML::anchor('volume/detail/'.$vo->VOLUME_NAME,$vo->display('VOLUME_NAME')); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('LAST_READ_DATE'); ?></td>
|
<td class="data"><?php echo $vo->display('LAST_READ_DATE'); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('LAST_WRITE_DATE'); ?></td>
|
<td class="data"><?php echo $vo->display('LAST_WRITE_DATE'); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('ACCESS'); ?></td>
|
<td class="data"><?php echo $vo->display('ACCESS'); ?></td>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php $i=0; foreach ($o->VOLUME->find_all() as $vo) { ?>
|
<?php $i=0; foreach ($o->VOLUME->find_all() as $vo) { ?>
|
||||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||||
<td class="data"><?php echo $vo->display('VOLUME_NAME'); ?></td>
|
<td class="data"><?php echo HTML::anchor('volume/detail/'.$vo->VOLUME_NAME,$vo->display('VOLUME_NAME')); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('LAST_READ_DATE'); ?></td>
|
<td class="data"><?php echo $vo->display('LAST_READ_DATE'); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('LAST_WRITE_DATE'); ?></td>
|
<td class="data"><?php echo $vo->display('LAST_WRITE_DATE'); ?></td>
|
||||||
<td class="data"><?php echo $vo->display('ACCESS'); ?></td>
|
<td class="data"><?php echo $vo->display('ACCESS'); ?></td>
|
||||||
|
Reference in New Issue
Block a user