web/views/timeline.py
branchstable
changeset 1884 893119ce3fef
parent 1881 75540944ae18
child 1977 606923dff11b
--- a/web/views/timeline.py	Wed May 20 14:27:35 2009 +0200
+++ b/web/views/timeline.py	Wed May 20 16:35:37 2009 +0200
@@ -16,6 +16,7 @@
 from cubicweb.selectors import implements
 from cubicweb.view import EntityView, StartupView
 
+_ = unicode
 
 class TimelineJsonView(EntityView):
     """generates a json file to feed Timeline.loadJSON()
@@ -101,6 +102,7 @@
 class TimelineView(TimelineViewMixIn, EntityView):
     """builds a cubicweb timeline widget node"""
     id = 'timeline'
+    title = _('timeline')
     __select__ = implements(ICalendarable)
     need_navigation = False
     def call(self, tlunit=None):