SyncRule: preparation for sync rule

This commit is contained in:
Stefan Scheungrab 2015-07-23 16:36:58 +02:00
parent 396120a1ce
commit ad77d8b702
2 changed files with 16 additions and 0 deletions

View File

@ -46,6 +46,19 @@ class Director_ListController extends ActionController
$this->render('table');
}
public function syncruleAction()
{
$this->view->addLink = $this->view->qlink(
$this->translate('Add sync rule'),
'director/syncrule/add'
);
$this->setImportTabs()->activate('syncrule');
$this->view->title = $this->translate('Sync rule');
$this->view->table = $this->loadTable('syncrule')->setConnection($this->db());
$this->render('table');
}
public function datalistentryAction()
{
$listId = $this->params->get('list_id');

View File

@ -60,6 +60,9 @@ abstract class ActionController extends Controller
)->add('importrun', array(
'label' => $this->translate('Import run'),
'url' => 'director/list/importrun')
)->add('syncrule', array(
'label' => $this->translate('Sync rule'),
'url' => 'director/list/syncrule')
);
return $this->view->tabs;
}