aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cal_event.tpl
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-06-18 11:47:26 +0200
committerMax Kostikov <max@kostikov.co>2019-06-18 11:47:26 +0200
commite2abc0b7277956651d2947c34a0522a77a59a9a5 (patch)
tree95e9c8863d20b7c91a6d07297cacd2ef8cf32818 /view/tpl/cal_event.tpl
parent43cec4398d0d035dd9446988134b814513a73080 (diff)
parenta677a68ab7e1f50f5b11c02a42dbc6cad3ebb444 (diff)
downloadvolse-hubzilla-e2abc0b7277956651d2947c34a0522a77a59a9a5.tar.gz
volse-hubzilla-e2abc0b7277956651d2947c34a0522a77a59a9a5.tar.bz2
volse-hubzilla-e2abc0b7277956651d2947c34a0522a77a59a9a5.zip
Merge branch 'dev' into 'dev'
Dev See merge request kostikov/core!1
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}}