title = ''; $this->params['breadcrumbs'][] = ['label' => 'Старые фоторепортажи', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $imgFileShort = "/images/report_photo/{$model->folder}/"; $amic_image = $imgFileShort."0.size2.jpg"; if( !file_exists(Yii::getAlias('@webroot').$amic_image) ){ $amic_image = $imgFileShort."0.160.jpg"; } \yii\web\YiiAsset::register($this); ?>
= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> = Html::a('Delete', ['delete', 'id' => $model->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => 'Are you sure you want to delete this item?', 'method' => 'post', ], ]) ?>