Commit 21aae226cf6f5d16cf128ec4772b9c13a95238f6
1 parent
64bbf934
-Breadcrumbs and img link
Showing
1 changed file
with
10 additions
and
2 deletions
Show diff stats
backend/views/request/update.php
| ... | ... | @@ -8,8 +8,16 @@ |
| 8 | 8 | use yii\web\View; |
| 9 | 9 | use yii\widgets\ActiveForm; |
| 10 | 10 | use yiister\gentelella\widgets\Panel; |
| 11 | + | |
| 12 | + $this->title = 'Заявка № ' . $model->id; | |
| 13 | + | |
| 14 | + $this->params['breadcrumbs'][] = [ | |
| 15 | + 'label' => 'Все заявки', | |
| 16 | + 'url' => ['/request'] | |
| 17 | + ]; | |
| 18 | + | |
| 19 | + $this->params['breadcrumbs'][] = $this->title; | |
| 11 | 20 | |
| 12 | - $this->title = ' asda sada'; | |
| 13 | 21 | |
| 14 | 22 | ?> |
| 15 | 23 | |
| ... | ... | @@ -81,7 +89,7 @@ |
| 81 | 89 | ) ?> |
| 82 | 90 | |
| 83 | 91 | <div class="style buttons-page-wr"> |
| 84 | - <a class="btn btn-success">Скачать фото <i class="fa fa-download"></i></a> | |
| 92 | + <a href="<?= $model->image ?>" class="btn btn-success">Скачать фото <i class="fa fa-download"></i></a> | |
| 85 | 93 | </div> |
| 86 | 94 | |
| 87 | 95 | </div> | ... | ... |