web/views/timeline.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 4252 6c4f109c2b03
equal deleted inserted replaced
3459:e134d2dd9992 3460:e4843535db25
   107     __select__ = implements(ICalendarable)
   107     __select__ = implements(ICalendarable)
   108     need_navigation = False
   108     need_navigation = False
   109     def call(self, tlunit=None):
   109     def call(self, tlunit=None):
   110         self._cw.html_headers.define_var('Timeline_urlPrefix', self._cw.datadir_url)
   110         self._cw.html_headers.define_var('Timeline_urlPrefix', self._cw.datadir_url)
   111         rql = self.cw_rset.printable_rql()
   111         rql = self.cw_rset.printable_rql()
   112         loadurl = self.build_url(rql=rql, vid='timeline-json')
   112         loadurl = self._cw.build_url(rql=rql, vid='timeline-json')
   113         self.render_url(loadurl, tlunit)
   113         self.render_url(loadurl, tlunit)
   114 
   114 
   115 
   115 
   116 class StaticTimelineView(TimelineViewMixIn, StartupView):
   116 class StaticTimelineView(TimelineViewMixIn, StartupView):
   117     """similar to `TimelineView` but loads data from a static
   117     """similar to `TimelineView` but loads data from a static