aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cal_event.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/cal_event.tpl')
-rwxr-xr-xview/tpl/cal_event.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/cal_event.tpl b/view/tpl/cal_event.tpl
new file mode 100755
index 000000000..d7662786b
--- /dev/null
+++ b/view/tpl/cal_event.tpl
@@ -0,0 +1,14 @@
+{{foreach $events as $event}}
+ <div class="event-wrapper">
+ <div class="event">
+ <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}}">{{$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="fa fa-external-link btn btn-outline-secondary" ></i></a>{{/if}}
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+{{/foreach}}