Adjust tile navigation

* Left to right tile drill down
* Actions redirect to main
This commit is contained in:
Eric Lippmann 2018-08-15 09:37:43 +02:00
parent ac4e217d78
commit 50e18766f6
3 changed files with 5 additions and 3 deletions

View file

@ -259,6 +259,7 @@ class ProcessController extends Controller
}
if ($form) {
$form->getElement($form->getSubmitLabel())->setAttrib('data-base-target', '_main');
$this->content()->prependContent(HtmlString::create((string) $form));
}
}
@ -322,7 +323,8 @@ class ProcessController extends Controller
Link::create(
$this->translate('Store'),
'businessprocess/process/config',
array('config' => $bp->getName())
array('config' => $bp->getName()),
['data-base-target' => '_next']
)
)->addContent(
Link::create(

View file

@ -81,7 +81,7 @@ class TileRenderer extends Renderer
protected function addNewNode()
{
$div = Container::create(
array('class' => 'addnew', 'data-base-target' => '_self')
array('class' => 'addnew', 'data-base-target' => '_next')
);
$actions = Container::create(

View file

@ -60,7 +60,7 @@ class NodeTile extends BaseElement
$this->actions = Container::create(
array(
'class' => 'actions',
'data-base-target' => '_self'
'data-base-target' => '_next'
)
);