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,15 +137,7 @@ FlipclockAsset::register($this); | ||
137 | </div><!-- EOF Image part --> | 137 | </div><!-- EOF Image part --> |
138 | 138 | ||
139 | <!-- Info table --> | 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 | <div class="info" style="height: auto; opacity: 1;"> | 141 | <div class="info" style="height: auto; opacity: 1;"> |
150 | 142 | ||
151 | 143 | ||
@@ -277,7 +269,15 @@ FlipclockAsset::register($this); | @@ -277,7 +269,15 @@ FlipclockAsset::register($this); | ||
277 | </tr> | 269 | </tr> |
278 | <tr> | 270 | <tr> |
279 | <td class="price_block"> | 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 | <div class="price_block_container"> | 281 | <div class="price_block_container"> |
282 | 282 | ||
283 | 283 |
frontend/web/css/css_header.css
@@ -14556,8 +14556,8 @@ ul.product-special li.promo div{ | @@ -14556,8 +14556,8 @@ ul.product-special li.promo div{ | ||
14556 | } | 14556 | } |
14557 | .event_info .events a{ | 14557 | .event_info .events a{ |
14558 | position: absolute; | 14558 | position: absolute; |
14559 | - left: -10px; | ||
14560 | - top: 80px; | 14559 | + left: 0px; |
14560 | + top: -70px; | ||
14561 | display: inline; | 14561 | display: inline; |
14562 | } | 14562 | } |
14563 | .body_view{ | 14563 | .body_view{ |