Updated Table to use new css layout

This commit is contained in:
Deon George
2012-07-30 18:14:25 +10:00
parent 8f56da789e
commit e4d600b8d0
7 changed files with 11 additions and 13 deletions

View File

@@ -19,11 +19,10 @@ class Controller_Affiliate_Account extends Controller_TemplateDefault_Affiliate
* Show a list of accounts
*/
public function action_list() {
Block::add(array(
'title'=>_('Customer List'),
'body'=>Table::display(
$this->filter(ORM::factory('account')->list_active(),$this->ao->affiliate->id,'sortkey(TRUE)');
$this->filter(ORM::factory('account')->list_active(),$this->ao->affiliate->id,'sortkey(TRUE)'),
25,
array(
'id'=>array('label'=>'ID','url'=>'user/account/view/'),

View File

@@ -221,8 +221,7 @@ $(document).ready(function() {
$td[$col]['value'] = Table::resolve($do,$col);
$output .= View::factory($view.'_body')
->set('td',$td)
->set('trc',$i%2 ? 'odd' : 'even');
->set('td',$td);
} elseif (isset($option['show_other']) AND ($col=$option['show_other'])) {
$other += Table::resolve($do,$col);