Commit ec2fe6c90173d28b22db60c29eeb18bb1699e918
1 parent
6f0b95f2
big commti
Showing
2 changed files
with
12 additions
and
12 deletions
Show diff stats
frontend/views/catalog/product.php
| ... | ... | @@ -137,15 +137,7 @@ FlipclockAsset::register($this); |
| 137 | 137 | </div><!-- EOF Image part --> |
| 138 | 138 | |
| 139 | 139 | <!-- Info table --> |
| 140 | - <div class="event_info"> | |
| 141 | - <div class="events"> | |
| 142 | - <?php foreach($product->events as $event):?> | |
| 143 | - <?php if(!empty($event->banner) && $event->isActive()):?> | |
| 144 | - <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?> | |
| 145 | - <?php endif; ?> | |
| 146 | - <?php endforeach; ?> | |
| 147 | - </div> | |
| 148 | - </div> | |
| 140 | + | |
| 149 | 141 | <div class="info" style="height: auto; opacity: 1;"> |
| 150 | 142 | |
| 151 | 143 | |
| ... | ... | @@ -277,7 +269,15 @@ FlipclockAsset::register($this); |
| 277 | 269 | </tr> |
| 278 | 270 | <tr> |
| 279 | 271 | <td class="price_block"> |
| 280 | - | |
| 272 | + <div class="event_info"> | |
| 273 | + <div class="events"> | |
| 274 | + <?php foreach($product->events as $event):?> | |
| 275 | + <?php if(!empty($event->banner) && $event->isActive()):?> | |
| 276 | + <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?> | |
| 277 | + <?php endif; ?> | |
| 278 | + <?php endforeach; ?> | |
| 279 | + </div> | |
| 280 | + </div> | |
| 281 | 281 | <div class="price_block_container"> |
| 282 | 282 | |
| 283 | 283 | ... | ... |
frontend/web/css/css_header.css