Display document thumbnails as a gallery and with the filename as the title
This commit is contained in:
@@ -167,7 +167,7 @@ register_maintenance_links([document_find_all_duplicates, document_update_page_c
|
||||
|
||||
register_model_list_columns(Document, [
|
||||
{'name':_(u'thumbnail'), 'attribute':
|
||||
encapsulate(lambda x: document_thumbnail(x))
|
||||
encapsulate(lambda x: document_thumbnail(x, gallery_name='document_list', title=x.filename))
|
||||
},
|
||||
{'name':_(u'metadata'), 'attribute':
|
||||
encapsulate(lambda x: get_metadata_string(x))
|
||||
|
||||
Reference in New Issue
Block a user