diff --git a/views/history/index.php b/views/history/index.php index 44ab272..df2fa02 100644 --- a/views/history/index.php +++ b/views/history/index.php @@ -4,25 +4,23 @@ /* @var $searchModel app\models\HistorySearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ -use yii\helpers\Html; use yii\widgets\ListView; use yii\widgets\Pjax; -$this->title = 'Histories'; + +$this->title = 'История'; $this->params['breadcrumbs'][] = $this->title; ?>
- - 'btn btn-success']) ?> - -render('_search', ['model' => $searchModel]); ?> - + $dataProvider, 'itemOptions' => ['class' => 'item'], 'summaryOptions' => ['class' => 'alert alert-info'], + 'emptyTextOptions' => ['class' => 'alert alert-warning'], 'itemView' => '_history', ]) ?> +