From 3bb0ef8a82ec660ff8ef37b9abc93da94234649a Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 24 Nov 2014 20:40:00 -0800 Subject: Make events export track the current calendar. Turn it and 'new event' into buttons --- view/tpl/event_head.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/tpl/event_head.tpl') 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( -- cgit v1.2.3