BasketController: formatting

This commit is contained in:
Thomas Gelf 2018-10-06 17:13:14 +02:00
parent 9508cf8acd
commit 479ef3002d
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ class BasketController extends ActionController
null, null,
['class' => 'icon-rewind'] ['class' => 'icon-rewind']
) )
] ); ]);
if ($this->params->get('action') === 'restore') { if ($this->params->get('action') === 'restore') {
$form = new RestoreBasketForm(); $form = new RestoreBasketForm();
@ -187,7 +187,7 @@ class BasketController extends ActionController
if ($current === null) { if ($current === null) {
$table->addNameValueRow( $table->addNameValueRow(
$key, $key,
Link::create( Link::create(
Html::tag('strong', ['style' => 'color: green'], $this->translate('new')), Html::tag('strong', ['style' => 'color: green'], $this->translate('new')),
'director/basket/snapshotobject', 'director/basket/snapshotobject',
$linkParams $linkParams