Commit e9e5ba5f89c50557768cc23c57591e42664e18a8
Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
11 additions
and
3 deletions
Show diff stats
backend/views/request/update.php
@@ -8,8 +8,16 @@ | @@ -8,8 +8,16 @@ | ||
8 | use yii\web\View; | 8 | use yii\web\View; |
9 | use yii\widgets\ActiveForm; | 9 | use yii\widgets\ActiveForm; |
10 | use yiister\gentelella\widgets\Panel; | 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,7 +89,7 @@ | ||
81 | ) ?> | 89 | ) ?> |
82 | 90 | ||
83 | <div class="style buttons-page-wr"> | 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 | </div> | 93 | </div> |
86 | 94 | ||
87 | </div> | 95 | </div> |
common/config/main.php
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
70 | 'class' => SeoComponent::className(), | 70 | 'class' => SeoComponent::className(), |
71 | ], | 71 | ], |
72 | 'imagemanager' => [ | 72 | 'imagemanager' => [ |
73 | - 'class' => 'noam148\imagemanager\components\ImageManagerGetPath', | 73 | + 'class' => 'artbox\core\components\imagemanager\components\ImageManagerGetPath', |
74 | 'mediaPath' => dirname(dirname(__DIR__)) . '/storage', | 74 | 'mediaPath' => dirname(dirname(__DIR__)) . '/storage', |
75 | 'cachePath' => '../../storage/cache', | 75 | 'cachePath' => '../../storage/cache', |
76 | 'useFilename' => true, | 76 | 'useFilename' => true, |