Commit 42648c9823b5760a926e568c238b9ebd0b5bbf51
1 parent
02f73cc6
test
Showing
3 changed files
with
13 additions
and
15 deletions
Show diff stats
common/modules/file/widgets/ImageUploader.php
frontend/views/company/_portfolio_list_view.php
| ... | ... | @@ -15,8 +15,8 @@ |
| 15 | 15 | 'company/portfolio-view', |
| 16 | 16 | 'company_id' => $model->user_id, |
| 17 | 17 | 'portfolio_id' => $model->portfolio_id, |
| 18 | - 'type' => (!empty($this->params['type']))?$this->params['type']:null, | |
| 19 | - ])); ?> | |
| 18 | + 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, | |
| 19 | + ]), [ 'data-pjax' => 0 ]); ?> | |
| 20 | 20 | </div> |
| 21 | 21 | <div class="portfolio-project-blocks-title-wr"> |
| 22 | 22 | <div class="portfolio-project-blocks-title"> |
| ... | ... | @@ -24,8 +24,8 @@ |
| 24 | 24 | 'company/portfolio-view', |
| 25 | 25 | 'company_id' => $model->user_id, |
| 26 | 26 | 'portfolio_id' => $model->portfolio_id, |
| 27 | - 'type' => (!empty($this->params['type']))?$this->params['type']:null, | |
| 28 | - ])) ?> | |
| 27 | + 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, | |
| 28 | + ]), [ 'data-pjax' => 0 ]) ?> | |
| 29 | 29 | </div> |
| 30 | 30 | </div> |
| 31 | 31 | </div> |
| ... | ... | @@ -35,21 +35,25 @@ |
| 35 | 35 | <div class="portfolio-project-views-img"> |
| 36 | 36 | <img src="/images/portfolio-project/ico-1.png"/></div> |
| 37 | 37 | </div> |
| 38 | - <div class="portfolio-project-views-txt"><?=$model->view_count?></div> | |
| 38 | + <div class="portfolio-project-views-txt"><?= $model->view_count ?></div> | |
| 39 | 39 | </div> |
| 40 | 40 | <div class="portfolio-project-rati ico-views-bl"> |
| 41 | 41 | <div class="portfolio-project-views-img-wr"> |
| 42 | 42 | <div class="portfolio-project-views-img"> |
| 43 | 43 | <img src="/images/portfolio-project/ico-2.png"/></div> |
| 44 | 44 | </div> |
| 45 | - <div class="portfolio-project-views-txt"><?php if(!empty($model->ratingValue)) { echo $model->ratingValue; } else { echo 'Нет'; } ?></div> | |
| 45 | + <div class="portfolio-project-views-txt"><?php if(!empty( $model->ratingValue )) { | |
| 46 | + echo $model->ratingValue; | |
| 47 | + } else { | |
| 48 | + echo 'Нет'; | |
| 49 | + } ?></div> | |
| 46 | 50 | </div> |
| 47 | 51 | <div class="ico-views-bl"> |
| 48 | 52 | <div class="portfolio-project-views-img-wr"> |
| 49 | 53 | <div class="portfolio-project-views-img"> |
| 50 | 54 | <img src="/images/portfolio-project/ico-3.png"/></div> |
| 51 | 55 | </div> |
| 52 | - <div class="portfolio-project-views-txt"><?=count($model->comments)?></div> | |
| 56 | + <div class="portfolio-project-views-txt"><?= count($model->comments) ?></div> | |
| 53 | 57 | </div> |
| 54 | 58 | </div> |
| 55 | 59 | <div title="<?= implode(', ', ArrayHelper::getColumn($model->specializations, 'specialization_name')) ?>" class="portfolio-project-blocks-tags"><?= implode(', ', ArrayHelper::getColumn($model->specializations, 'specialization_name')) ?></div> | ... | ... |
frontend/views/search/_vacancy_list_view.php
| ... | ... | @@ -30,9 +30,9 @@ |
| 30 | 30 | <div class="performer-vacant-reclam-bl-content"> |
| 31 | 31 | <span><?= TextHelper::truncateHtmlText($model->description, 200, '...') ?></span> |
| 32 | 32 | <?= Html::a('<img src="/images/performar_vacancy/arrow-post.png" alt=""/>', [ |
| 33 | - 'vacancy-view', | |
| 33 | + 'company/vacancy-view', | |
| 34 | 34 | 'company_id' => $model->user_id, |
| 35 | - 'vacancy_id' => $model->vacancy_id, | |
| 35 | + 'link' => $model->link, | |
| 36 | 36 | ], [ 'class' => 'performer-vacant-reclam-bl-content-read' ]) ?> |
| 37 | 37 | </div> |
| 38 | 38 | </div> |
| 39 | 39 | \ No newline at end of file | ... | ... |