aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_head.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-24 20:40:00 -0800
committerfriendica <info@friendica.com>2014-11-24 20:40:00 -0800
commit3bb0ef8a82ec660ff8ef37b9abc93da94234649a (patch)
treeecc02e3590420dcf30412044f0a73b9e88667a72 /view/tpl/event_head.tpl
parent89c5ffd7c84af178f496dee28671ad8870374c09 (diff)
downloadvolse-hubzilla-3bb0ef8a82ec660ff8ef37b9abc93da94234649a.tar.gz
volse-hubzilla-3bb0ef8a82ec660ff8ef37b9abc93da94234649a.tar.bz2
volse-hubzilla-3bb0ef8a82ec660ff8ef37b9abc93da94234649a.zip
Make events export track the current calendar. Turn it and 'new event' into buttons
Diffstat (limited to 'view/tpl/event_head.tpl')
-rwxr-xr-xview/tpl/event_head.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 6f1d2f22c..bcb1e07f6 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -24,10 +24,11 @@
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
-
+
eventRender: function(event, element, view) {
//console.log(view.name);
if (event.item['author']['xchan_name']==null) return;
+
switch(view.name){
case "month":
element.find(".fc-event-title").html(