From db64478d9fe8fb8665af687a3672f06fc8ec5ce9 Mon Sep 17 00:00:00 2001 From: "Philippe O. Wagner" Date: Wed, 1 Mar 2017 00:50:53 +0100 Subject: [PATCH] Better alt-text for thumbnails. --- src/documents/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/admin.py b/src/documents/admin.py index 3022e3c61..9aafc7651 100644 --- a/src/documents/admin.py +++ b/src/documents/admin.py @@ -70,7 +70,7 @@ class DocumentAdmin(CommonAdmin): "img", src="/fetch/thumb/{}".format(obj.id), width=180, - alt="thumbnail", + alt="Thumbnail of {}".format(obj.file_name), title=obj.file_name ) return self._html_tag("a", png_img, href=obj.download_url)