diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/event_head.tpl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 4362360d3..fcd0f0df1 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -71,30 +71,32 @@ switch(view.name){ case "month": element.find(".fc-title").html( - "<img src='{0}' style='height:10px;width:10px'> {1}: {2}".format( + "<img src='{0}' style='height:12px;width:12px;' title='{1}'> <abbr title='{3}\r\n\r\n{4}'>{2}</abbr>".format( event.item['author']['xchan_photo_s'], event.item['author']['xchan_name'], - event.title + event.title, + event.item.description, + event.item.location.replace(/(<([^>]+)>)/ig,"") )); break; case "agendaWeek": element.find(".fc-title").html( - "<img src='{0}' style='height:10px; width:10px'> {1}: {2}<p>{3}</p><p>{4}</p>".format( + "<img src='{0}' style='height:12px;width:12px;'> {1}: <abbr title='{3}\r\n\r\n{4}'>{2}</abbr>".format( event.item['author']['xchan_photo_s'], event.item['author']['xchan_name'], event.title, event.item.description, - event.item.location + event.item.location.replace(/(<([^>]+)>)/ig,"") )); break; case "agendaDay": element.find(".fc-title").html( - "<img src='{0}' style='height:10px;width:10px'> {1}: {2}<p>{3}</p><p>{4}</p>".format( + "<img src='{0}' style='height:12px;width:12px;'> {1}: <abbr title='{3}\r\n\r\n{4}'>{2}</abbr>".format( event.item['author']['xchan_photo_s'], event.item['author']['xchan_name'], event.title, event.item.description, - event.item.location + event.item.location.replace(/(<([^>]+)>)/ig,"") )); break; } |