Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.2 KiB

  1. <script language="javascript" type="text/javascript"
  2. src="{{$baseurl}}/view/theme/frio/js/event_edit.js"></script>
  3. {{foreach $events as $event}}
  4. <div class="event-wrapper">
  5. <div class="event">
  6. <div class="media">
  7. <div class="event-owner media-left">
  8. {{if $event.item.author_name}}
  9. <a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" /></a>
  10. <a href="{{$event.item.author_link}}" >{{$event.item.author_name}}</a>
  11. {{/if}}
  12. </div>
  13. <div class="media-body">
  14. {{$event.html}}
  15. </div>
  16. </div>
  17. <div class="event-buttons pull-right">
  18. {{if $event.edit}}<a onclick="eventEdit('{{$event.edit.0}}')" title="{{$event.edit.1}}" class="edit-event-link btn"><i class="fa fa-pencil" aria-hidden="true"></i></a>{{/if}}
  19. {{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}}
  20. {{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}}
  21. </div>
  22. <div class="clear"></div>
  23. </div>
  24. </div>
  25. {{/foreach}}