Commit 02b6a6df24972a8bfa09bd955bb609f99963c03b
1 parent
ed4a9b09
14.09.16
Showing
1 changed file
with
11 additions
and
4 deletions
Show diff stats
frontend/views/event/_objects.php
| @@ -8,10 +8,16 @@ FlipclockAsset::register($this); | @@ -8,10 +8,16 @@ FlipclockAsset::register($this); | ||
| 8 | ?> | 8 | ?> |
| 9 | <div class="news_item"> | 9 | <div class="news_item"> |
| 10 | <div> | 10 | <div> |
| 11 | - <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>" class="name"><?=$model->name?></a> | ||
| 12 | - <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>"> | ||
| 13 | - <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'event_left', ['align' => 'left'])?> | ||
| 14 | - </a> | 11 | + <div> |
| 12 | + <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>" class="name"><?=$model->name?></a> | ||
| 13 | + </div> | ||
| 14 | + | ||
| 15 | + <div style="position: relative"> | ||
| 16 | + <a href="<?=Url::to(['event/show','alias'=>$model->alias,'id'=>$model->primaryKey])?>"> | ||
| 17 | + <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'event_left', ['align' => 'left'])?> | ||
| 18 | + </a> | ||
| 19 | + | ||
| 20 | + | ||
| 15 | <?php | 21 | <?php |
| 16 | 22 | ||
| 17 | if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){ | 23 | if(!empty($model->end_at) && strtotime($model->end_at) > strtotime(date("Y-m-d"))){ |
| @@ -50,6 +56,7 @@ FlipclockAsset::register($this); | @@ -50,6 +56,7 @@ FlipclockAsset::register($this); | ||
| 50 | } | 56 | } |
| 51 | 57 | ||
| 52 | ?> | 58 | ?> |
| 59 | + </div> | ||
| 53 | <div class="both"></div> | 60 | <div class="both"></div> |
| 54 | </div> | 61 | </div> |
| 55 | 62 |