= Yii::t($this->context->module->name, $this->context->module->title) ?>.
context->module->name, $this->context->group->lang->title) ?>
= Yii::t($this->context->module->name, $this->context->title) ?>
= Breadcrumbs::widget([
'homeLink' => false,
'links' => [
[
'label' => Yii::t($this->context->module->name, $this->context->module->title),
],
/*[
'label' => Yii::t($this->context->module->name, $this->context->group->lang->title),
],*/
[
'label' => Yii::t($this->context->module->name, $this->context->title),
],
Yii::t('app', 'List'),
],
]) ?>
', [
'type' => 'button',
'class' => 'btn btn-primary dropdown-toggle',
'data-toggle' => 'dropdown',
'aria-haspopup' => 'true',
'aria-expanded' => 'false'
]);
$items = $this->context->module::typeRange();
$items_n = [];
foreach ($items as $type => $label) {
$items_n[] = ['label' => $label, 'url' => ArrayHelper::merge(['create', 'type' => $type], $get)];
}
echo Dropdown::widget([
'items' => $items_n
]);
unset($items, $items_n);
echo Html::a(Html::tag('i', '', ['class' => 'fa fa-trash']), ArrayHelper::merge([
'trash'], $get),
['class' => 'btn btn-default', 'title' => Yii::t('app', 'Trash')]); ?>