diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/event.tpl | 9 | ||||
-rwxr-xr-x | view/tpl/event_head.tpl | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index c6e36c3cb..f0e00bd2c 100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,12 +1,15 @@ {{foreach $events as $event}} - <div class="event-wrapper" style="padding: 25px;"> + <div class="event-wrapper"> <div class="event"> - - {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="32" width="32" />{{$event.item.author.xchan_name}}</a>{{/if}} + <div class="event-owner"> + {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="64" width="64" />{{$event.item.author.xchan_name}}</a>{{/if}} + </div> {{$event.html}} + <div class="event-buttons"> {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link"><i class="icon-external-link btn btn-default" ></i></a>{{/if}} {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link"><i class="icon-pencil btn btn-default"></i></a>{{/if}} </div> + </div> <div class="clear"></div> </div> {{/foreach}} diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index ae80d930a..8388187d1 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -7,7 +7,7 @@ $.get( '{{$baseurl}}/events/?id='+eventid, function(data){ - $.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data }); + $.colorbox({ html: data }); } ); } |