/* @var $this yii\web\View */ /* @var $searchModel esoftslimited\blog\models\TypeSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Module::t('main', 'Blog'); $this->params['breadcrumbs'][] = $this->title; $assetPath = BlogAsset::register($this)->baseUrl; ?> <div class="blog-default-index"> <h1><?php echo Module::t('main', 'Blog module'); ?> </h1> <?php if (Helper::isJustInstalled()) { ?> <?php echo Alert::widget(['type' => Alert::TYPE_SUCCESS, 'title' => Module::t('main', 'Welcome to the module “Blog”!'), 'icon' => 'glyphicon glyphicon-ok-sign', 'body' => Module::t('main', 'You have successfully installed the module “Blog” is now to create a record, you need to create your first post type and category'), 'showSeparator' => true]); ?> <?php } ?> <div class="row"> <div class="col-md-4"> <div class="text-center"> <h2> <?php echo Html::a(Module::t('main', 'Posts'), ['post/index']);