equal
deleted
inserted
replaced
65 start = start or stop |
65 start = start or stop |
66 if start is None and stop is None: |
66 if start is None and stop is None: |
67 return None |
67 return None |
68 event_data = {'start': start.strftime(self.date_fmt), |
68 event_data = {'start': start.strftime(self.date_fmt), |
69 'title': html_escape(entity.dc_title()), |
69 'title': html_escape(entity.dc_title()), |
70 'description': entity.dc_description(), |
70 'description': entity.dc_description(format='text/html'), |
71 'link': entity.absolute_url(), |
71 'link': entity.absolute_url(), |
72 } |
72 } |
73 onclick = self.onclick(entity) |
73 onclick = self.onclick(entity) |
74 if onclick: |
74 if onclick: |
75 event_data['onclick'] = onclick |
75 event_data['onclick'] = onclick |