mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	fix: a little cleanup
This commit is contained in:
		
							parent
							
								
									55e81ca4bb
								
							
						
					
					
						commit
						b5f6c06b8b
					
				| @ -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") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user