Work on Email and other major consistency work
This commit is contained in:
@@ -109,3 +109,24 @@
|
||||
</fieldset>
|
||||
</div> <!-- /row -->
|
||||
<?php endif ?>
|
||||
|
||||
<?php $x=$o->email()->find_all(); if ($x->count()) : ?>
|
||||
<div class="row">
|
||||
<fieldset class="span5">
|
||||
<legend>Emails about this service</legend>
|
||||
<?php echo Table::factory()
|
||||
->data($x)
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'date_orig'=>'Date',
|
||||
'resolve("subject")'=>'Subject',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','email/view/')),
|
||||
))
|
||||
->postproc(array(
|
||||
'resolve("subject")'=>array('trim'=>45),
|
||||
)); ?>
|
||||
</fieldset>
|
||||
</div> <!-- /row -->
|
||||
<?php endif ?>
|
||||
|
Reference in New Issue
Block a user