diff -r 293fe4b49e28 -r 75540944ae18 web/views/calendar.py --- a/web/views/calendar.py Wed May 20 14:19:02 2009 +0200 +++ b/web/views/calendar.py Wed May 20 14:19:48 2009 +0200 @@ -4,6 +4,8 @@ :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr """ +__docformat__ = "restructuredtext en" +_ = unicode from datetime import datetime, date, timedelta @@ -14,7 +16,6 @@ from cubicweb.utils import strptime, date_range, todate, todatetime from cubicweb.view import EntityView -_ = unicode # useful constants & functions ################################################ @@ -81,7 +82,8 @@ task = self.complete_entity(i) self.w(u'
') self.w(u'

%s

' % html_escape(task.dc_title())) - self.w(u'
%s
' % html_escape(task.dc_description())) + self.w(u'
%s
' + % task.dc_description(format='text/html')) if task.start: self.w(u'%s' % (task.start.isoformat(), self.format_date(task.start))) if task.stop: