7cb44ae25a
- Add CSS changes to support both <a> and <button class="btn btn-link"> - Removed unnecessary "return false" in onclick attributes - Simplified tabs in profile page to native Bootstrap behavior
26 lines
1 KiB
Smarty
26 lines
1 KiB
Smarty
<script language="javascript" type="text/javascript"
|
|
src="{{$baseurl}}/view/theme/frio/js/event_edit.js"></script>
|
|
|
|
{{foreach $events as $event}}
|
|
<div class="event-wrapper">
|
|
<div class="event">
|
|
<div class="media">
|
|
<div class="event-owner media-left">
|
|
{{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>
|
|
</div>
|
|
|
|
<div class="event-buttons pull-right">
|
|
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="btn "><i class="fa fa-external-link" aria-hidden="true"></i></a>{{/if}}
|
|
{{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}}
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
{{/foreach}}
|