mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Better alt-text for thumbnails.
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							8bc2dfe4c6
						
					
				
				
					commit
					db64478d9f
				
			@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user