mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	white spacing and remove var's prefix
This commit is contained in:
		| @@ -71,12 +71,12 @@ class DocumentAdmin(CommonAdmin): | |||||||
|  |  | ||||||
|     def thumbnail(self, obj): |     def thumbnail(self, obj): | ||||||
|         if settings.FORCE_SCRIPT_NAME: |         if settings.FORCE_SCRIPT_NAME: | ||||||
|             _src="{}/fetch/thumb/{}".format(settings.FORCE_SCRIPT_NAME,obj.id) |             src_link = "{}/fetch/thumb/{}".format(settings.FORCE_SCRIPT_NAME, obj.id) | ||||||
|         else: |         else: | ||||||
|             _src="/fetch/thumb/{}".format(obj.id) |             src_link = "/fetch/thumb/{}".format(obj.id) | ||||||
|         png_img = self._html_tag( |         png_img = self._html_tag( | ||||||
|             "img", |             "img", | ||||||
|             src=_src, |             src=src_link, | ||||||
|             width=180, |             width=180, | ||||||
|             alt="Thumbnail of {}".format(obj.file_name), |             alt="Thumbnail of {}".format(obj.file_name), | ||||||
|             title=obj.file_name |             title=obj.file_name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 maphy-psd
					maphy-psd