mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Better alt-text for thumbnails.
This commit is contained in:
parent
8bc2dfe4c6
commit
db64478d9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue