mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-28 03:46:06 -05:00
Better alt-text for thumbnails.
This commit is contained in:
committed by
GitHub
parent
7b77450d80
commit
6922759aed
@@ -70,7 +70,7 @@ class DocumentAdmin(CommonAdmin):
|
|||||||
"img",
|
"img",
|
||||||
src="/fetch/thumb/{}".format(obj.id),
|
src="/fetch/thumb/{}".format(obj.id),
|
||||||
width=180,
|
width=180,
|
||||||
alt="thumbnail",
|
alt="Thumbnail of {}".format(obj.file_name),
|
||||||
title=obj.file_name
|
title=obj.file_name
|
||||||
)
|
)
|
||||||
return self._html_tag("a", png_img, href=obj.download_url)
|
return self._html_tag("a", png_img, href=obj.download_url)
|
||||||
|
|||||||
Reference in New Issue
Block a user