diff -r 2e4a381ea5b7 -r 6fb42c53f6df web/views/idownloadable.py --- a/web/views/idownloadable.py Thu Aug 27 13:02:45 2009 +0200 +++ b/web/views/idownloadable.py Mon Aug 31 19:09:54 2009 +0200 @@ -147,17 +147,17 @@ def cell_call(self, row, col, width=None, height=None, link=False): entity = self.rset.get_entity(row, col) #if entity.data_format.startswith('image/'): - imgtag = u'%s' if link: - self.w(u'%s' % (entity.absolute_url(vid='download'), - self.req._('download image'), - imgtag)) + self.w(u'%s' % (entity.absolute_url(vid='download'), + imgtag)) else: self.w(imgtag)