diff -r 2e4a381ea5b7 -r 6fb42c53f6df web/views/basecomponents.py
--- a/web/views/basecomponents.py Thu Aug 27 13:02:45 2009 +0200
+++ b/web/views/basecomponents.py Mon Aug 31 19:09:54 2009 +0200
@@ -226,10 +226,10 @@
}
def call(self, vid):
- self.req.add_css('cubes.confman.css')
entity = self.entity(0,0)
- self.w(u'' %
- (xml_escape(entity.absolute_url() + '?vid=%s&__template=pdf-main-template' % vid)))
+ url = entity.absolute_url(vid=vid, __template='pdf-main-template')
+ self.w(u'' %
+ (xml_escape(url), self.req._('download page as pdf')))