equal
deleted
inserted
replaced
48 w(u'%s</div>' % footer) |
48 w(u'%s</div>' % footer) |
49 w(u'</div></div>\n') |
49 w(u'</div></div>\n') |
50 |
50 |
51 |
51 |
52 class DownloadBox(component.EntityCtxComponent): |
52 class DownloadBox(component.EntityCtxComponent): |
53 __regid__ = 'download_box' |
53 __regid__ = 'download_box' # no download box for images |
54 # no download box for images |
|
55 __select__ = (component.EntityCtxComponent.__select__ & |
54 __select__ = (component.EntityCtxComponent.__select__ & |
56 adaptable('IDownloadable') & ~has_mimetype('image/')) |
55 adaptable('IDownloadable') & ~has_mimetype('image/')) |
57 |
56 |
58 order = 10 |
57 order = 10 |
59 title = _('download') |
58 title = _('download') |