SyncRule: preparation for sync rule
This commit is contained in:
parent
396120a1ce
commit
ad77d8b702
|
@ -46,6 +46,19 @@ class Director_ListController extends ActionController
|
||||||
$this->render('table');
|
$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()
|
public function datalistentryAction()
|
||||||
{
|
{
|
||||||
$listId = $this->params->get('list_id');
|
$listId = $this->params->get('list_id');
|
||||||
|
|
|
@ -60,6 +60,9 @@ abstract class ActionController extends Controller
|
||||||
)->add('importrun', array(
|
)->add('importrun', array(
|
||||||
'label' => $this->translate('Import run'),
|
'label' => $this->translate('Import run'),
|
||||||
'url' => 'director/list/importrun')
|
'url' => 'director/list/importrun')
|
||||||
|
)->add('syncrule', array(
|
||||||
|
'label' => $this->translate('Sync rule'),
|
||||||
|
'url' => 'director/list/syncrule')
|
||||||
);
|
);
|
||||||
return $this->view->tabs;
|
return $this->view->tabs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue