Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix: a little cleanup

Daniel Quinnb5f6c06b8baa
diff --git a/src/documents/admin.py b/src/documents/admin.py
index aada98fc9..7cba10c74 100644
--- a/src/documents/admin.py
+++ b/src/documents/admin.py
@@ -67,6 +67,7 @@ class DocumentAdmin(CommonAdmin):
def created_(self, obj):
return obj.created.date().strftime("%Y-%m-%d")
+ created_.short_description = "Created"
def thumbnail(self, obj):
png_img = self._html_tag(
diff --git a/src/documents/templates/admin/documents/document/change_list_results.html b/src/documents/templates/admin/documents/document/change_list_results.html
index 0730f92b3..1e418ebfa 100644
--- a/src/documents/templates/admin/documents/document/change_list_results.html
+++ b/src/documents/templates/admin/documents/document/change_list_results.html
@@ -158,7 +158,7 @@
<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.
django.jQuery("#action-toggle").on("change", function(){
django.jQuery(".grid .box .result .checkbox input")