web/views/timeline.py
branchstable
changeset 1881 75540944ae18
parent 1730 cec526a96535
child 1884 893119ce3fef
equal deleted inserted replaced
1880:293fe4b49e28 1881:75540944ae18
    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