Commit 47ed052379613c3dd7e31efe7bf11dd54cb4e21b
1 parent
89793b84
-Gallery fix (images commented out)
Showing
1 changed file
with
20 additions
and
20 deletions
Show diff stats
frontend/views/project/_list_item.php
@@ -52,26 +52,26 @@ | @@ -52,26 +52,26 @@ | ||
52 | </div> | 52 | </div> |
53 | </div> | 53 | </div> |
54 | <?php | 54 | <?php |
55 | - if(!empty( $model->images ) && count($model->images) > 1) { | ||
56 | - $images = array_slice($model->images, 1); | ||
57 | - ?> | ||
58 | - <div class="galery-obj-img col-xs-12 col-sm-12"> | ||
59 | - <a href="<?= Url::to([ | ||
60 | - 'project/view', | ||
61 | - 'id' => $model->project_id, | ||
62 | - ]); ?>"> | ||
63 | - <!----размер картинок макс ширина 165, макс высота 100---> | ||
64 | - <?php | ||
65 | - foreach($images as $img) { | ||
66 | - /** | ||
67 | - * @var ProjectImage $img | ||
68 | - */ | ||
69 | - echo ArtboxImageHelper::getImage($img->getImageUrl(), 'project_list'); | ||
70 | - } | ||
71 | - ?> | ||
72 | - </a> | ||
73 | - </div> | 55 | +// if(!empty( $model->images ) && count($model->images) > 1) { |
56 | +// $images = array_slice($model->images, 1); | ||
57 | +// ?> | ||
58 | +<!-- <div class="galery-obj-img col-xs-12 col-sm-12">--> | ||
59 | +<!-- <a href="--><?//= Url::to([ | ||
60 | +// 'project/view', | ||
61 | +// 'id' => $model->project_id, | ||
62 | +// ]); ?><!--">--> | ||
63 | +<!-- <!----размер картинок макс ширина 165, макс высота 100--->--> | ||
64 | +<!-- --><?php | ||
65 | +// foreach($images as $img) { | ||
66 | +// /** | ||
67 | +// * @var ProjectImage $img | ||
68 | +// */ | ||
69 | +// echo ArtboxImageHelper::getImage($img->getImageUrl(), 'project_list'); | ||
70 | +// } | ||
71 | +// ?> | ||
72 | +<!-- </a>--> | ||
73 | +<!-- </div>--> | ||
74 | <?php | 74 | <?php |
75 | - } | 75 | +// } |
76 | ?> | 76 | ?> |
77 | </div> | 77 | </div> |
78 | \ No newline at end of file | 78 | \ No newline at end of file |