use model name instead of page title
This commit is contained in:
parent
14600caaff
commit
9ad01fa1d2
@ -19,7 +19,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
<?= $model->getReadmeHtml() ?>
|
||||
<?php
|
||||
if (!$model->readme) {
|
||||
echo '<h1>' . Html::encode($this->title) . '</h1>';
|
||||
echo '<h1>' . Html::encode($model->name) . '</h1>';
|
||||
echo Alert::widget([
|
||||
'options' => [
|
||||
'class' => 'alert-danger',
|
||||
|
Loading…
x
Reference in New Issue
Block a user