equal
deleted
inserted
replaced
1 """html calendar views |
1 """html calendar views |
2 |
2 |
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
4 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 |
8 |
9 from logilab.mtconverter import xml_escape |
9 from logilab.mtconverter import xml_escape |
26 |
26 |
27 class TimeTableView(AnyRsetView): |
27 class TimeTableView(AnyRsetView): |
28 __regid__ = 'timetable' |
28 __regid__ = 'timetable' |
29 title = _('timetable') |
29 title = _('timetable') |
30 __select__ = implements(ITimetableViews) |
30 __select__ = implements(ITimetableViews) |
31 need_navigation = False |
31 paginable = False |
32 |
32 |
33 def call(self, title=None): |
33 def call(self, title=None): |
34 """Dumps a timetable from a resultset composed of a note (anything |
34 """Dumps a timetable from a resultset composed of a note (anything |
35 with start/stop) and a user (anything)""" |
35 with start/stop) and a user (anything)""" |
36 self._cw.add_css('cubicweb.timetable.css') |
36 self._cw.add_css('cubicweb.timetable.css') |