mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix: a little cleanup
This commit is contained in:
		| @@ -67,6 +67,7 @@ class DocumentAdmin(CommonAdmin): | |||||||
|  |  | ||||||
|     def created_(self, obj): |     def created_(self, obj): | ||||||
|         return obj.created.date().strftime("%Y-%m-%d") |         return obj.created.date().strftime("%Y-%m-%d") | ||||||
|  |     created_.short_description = "Created" | ||||||
|  |  | ||||||
|     def thumbnail(self, obj): |     def thumbnail(self, obj): | ||||||
|         png_img = self._html_tag( |         png_img = self._html_tag( | ||||||
|   | |||||||
| @@ -158,7 +158,7 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
| <script> | <script> | ||||||
|   // We nee to re-build the select-all functionality as the old logic pointed |   // We need to re-build the select-all functionality as the old logic pointed | ||||||
|   // to a table and we're using divs now. |   // to a table and we're using divs now. | ||||||
|   django.jQuery("#action-toggle").on("change", function(){ |   django.jQuery("#action-toggle").on("change", function(){ | ||||||
|     django.jQuery(".grid .box .result .checkbox input") |     django.jQuery(".grid .box .result .checkbox input") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Quinn
					Daniel Quinn