2016-06-17 12:09:18 +00:00
|
|
|
<script language="javascript" type="text/javascript"
|
2016-10-16 14:04:53 +00:00
|
|
|
src="{{$baseurl}}/view/theme/frio/js/event_edit.js"></script>
|
2016-06-12 16:23:10 +00:00
|
|
|
|
|
|
|
{{foreach $events as $event}}
|
|
|
|
<div class="event-wrapper">
|
|
|
|
<div class="event">
|
2016-06-17 12:09:18 +00:00
|
|
|
<div class="media">
|
2016-10-22 13:44:06 +00:00
|
|
|
<div class="event-owner media-left">
|
2016-06-17 12:09:18 +00:00
|
|
|
{{if $event.item.author_name}}
|
|
|
|
<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" /></a>
|
|
|
|
<a href="{{$event.item.author_link}}" >{{$event.item.author_name}}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="media-body">
|
|
|
|
{{$event.html}}
|
|
|
|
</div>
|
2016-06-12 16:23:10 +00:00
|
|
|
</div>
|
|
|
|
|
2017-03-20 18:43:37 +00:00
|
|
|
<div class="event-buttons pull-right">
|
2017-03-15 03:47:02 +00:00
|
|
|
{{if $event.edit}}<button type="button" class="btn" onclick="eventEdit('{{$event.edit.0}}')" title="{{$event.edit.1}}"><i class="fa fa-pencil" aria-hidden="true"></i></button>{{/if}}
|
2017-03-20 18:43:37 +00:00
|
|
|
{{if $event.drop}}<a href="{{$event.drop.0}}" onclick="return confirmDelete();" title="{{$event.drop.1}}" class="drop-event-link btn"><i class="fa fa-trash-o" aria-hidden="true"></i></a>{{/if}}
|
2017-03-16 19:15:25 +00:00
|
|
|
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link btn "><i class="fa fa-external-link" aria-hidden="true"></i></a>{{/if}}
|
2016-06-12 16:23:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/foreach}}
|