aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cal_event.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-17 10:07:00 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-17 10:07:00 +0200
commitc9604eaabf400ff60a7be24214ca4945561e6ec2 (patch)
tree272e315327b8b60d3959600707c677f76e22b5f0 /view/tpl/cal_event.tpl
parent3bc214e5449c7ce190a35ae6e70a1fb7ebe84962 (diff)
downloadvolse-hubzilla-c9604eaabf400ff60a7be24214ca4945561e6ec2.tar.gz
volse-hubzilla-c9604eaabf400ff60a7be24214ca4945561e6ec2.tar.bz2
volse-hubzilla-c9604eaabf400ff60a7be24214ca4945561e6ec2.zip
revisit mod cal
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}}