# HG changeset patch # User Sylvain Thénault # Date 1251735149 -7200 # Node ID 694c03f7d72f2a9e59c6d4426300000660ed8348 # Parent 3fbcdf220ce9ddda69e168cd540a274477eb048b doesn't have alt attribute diff -r 3fbcdf220ce9 -r 694c03f7d72f web/views/idownloadable.py --- a/web/views/idownloadable.py Mon Aug 31 17:38:38 2009 +0200 +++ b/web/views/idownloadable.py Mon Aug 31 18:12:29 2009 +0200 @@ -147,17 +147,17 @@ def cell_call(self, row, col, width=None, height=None, link=False): entity = self.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)