aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_head.tpl
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2013-03-19 00:29:59 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2013-03-21 21:07:38 -0400
commitfea2f9ac9be03684fc53dd488553c036b988d7eb (patch)
tree44616cc22ba6c76770bf4ee926806a0121c4d828 /view/tpl/event_head.tpl
parentc3590f6454f856b7890dee7dc2178cef3f09cb11 (diff)
downloadvolse-hubzilla-fea2f9ac9be03684fc53dd488553c036b988d7eb.tar.gz
volse-hubzilla-fea2f9ac9be03684fc53dd488553c036b988d7eb.tar.bz2
volse-hubzilla-fea2f9ac9be03684fc53dd488553c036b988d7eb.zip
small fixes for events
Diffstat (limited to 'view/tpl/event_head.tpl')
-rw-r--r--view/tpl/event_head.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 471748b97..45f07cf5d 100644
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -27,21 +27,21 @@
eventRender: function(event, element, view) {
//console.log(view.name);
- if (event.item['author-name']==null) return;
+ if (event.item['author']['xchan_name']==null) return;
switch(view.name){
case "month":
element.find(".fc-event-title").html(
"<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
- event.item['author-avatar'],
- event.item['author-name'],
+ event.item['author']['xchan_photo_s'],
+ event.item['author']['xchan_name'],
event.title
));
break;
case "agendaWeek":
element.find(".fc-event-title").html(
"<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
- event.item['author-avatar'],
- event.item['author-name'],
+ event.item['author']['xchan_photo_s'],
+ event.item['author']['xchan_name'],
event.item.desc,
event.item.location
));
@@ -49,8 +49,8 @@
case "agendaDay":
element.find(".fc-event-title").html(
"<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
- event.item['author-avatar'],
- event.item['author-name'],
+ event.item['author']['xchan_photo_s'],
+ event.item['author']['xchan_name'],
event.item.desc,
event.item.location
));