Fixed some more bootstrap rendering
This commit is contained in:
@@ -19,24 +19,7 @@ class Controller_User_Email extends Controller_Email {
|
||||
* Show a list of emails
|
||||
*/
|
||||
public function action_list() {
|
||||
Block::factory()
|
||||
->title(sprintf(_('System Emails Sent for %s: %s'),$this->ao->accnum(),$this->ao->name(TRUE)))
|
||||
->title_icon('icon-th')
|
||||
->body(Table::factory()
|
||||
->page_items(25)
|
||||
->data($this->ao->email_log->find_all())
|
||||
->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'=>60),
|
||||
))
|
||||
);
|
||||
$this->template->content = View::factory('email/user/list');
|
||||
}
|
||||
|
||||
public function action_view() {
|
||||
|
Reference in New Issue
Block a user