From 8297e218be72c1b116242bdc0bf6796f8eb4e6c1 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Wed, 26 Mar 2014 11:04:46 -0400 Subject: [PATCH] Revert some of William's changes --- karmaworld/apps/courses/models.py | 2 +- karmaworld/templates/courses/course_list_entry.html | 4 ++-- karmaworld/templates/notes/note_list_entry.html | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/karmaworld/apps/courses/models.py b/karmaworld/apps/courses/models.py index ad083d1..573bfe4 100644 --- a/karmaworld/apps/courses/models.py +++ b/karmaworld/apps/courses/models.py @@ -4,7 +4,7 @@ """ Models for the courses django app. - Handles courses, and their related modelsl + Handles courses, and their related models Courses are the first class object, they contain notes. Courses have a manytoone relation to schools. """ diff --git a/karmaworld/templates/courses/course_list_entry.html b/karmaworld/templates/courses/course_list_entry.html index 7c54f08..ec88375 100644 --- a/karmaworld/templates/courses/course_list_entry.html +++ b/karmaworld/templates/courses/course_list_entry.html @@ -5,8 +5,8 @@ {{ course.get_popularity|stringformat:"010g" }} Updated {{ course.updated_at|date:"b d, o"|capfirst }} - {{ course.file_count }} Notes{{ course.file_count|pluralize }} - {{ course.get_popularity }} Thanks{{ course.get_popularity|pluralize }} + {{ course.file_count }} Note{{ course.file_count|pluralize }} + {{ course.get_popularity }} Thank{{ course.get_popularity|pluralize }} {% if course.department %}{{course.department.name}}: {% endif %}{{ course.name }} diff --git a/karmaworld/templates/notes/note_list_entry.html b/karmaworld/templates/notes/note_list_entry.html index b226810..5c486b9 100644 --- a/karmaworld/templates/notes/note_list_entry.html +++ b/karmaworld/templates/notes/note_list_entry.html @@ -1,10 +1,8 @@ - {{ note.thanks|stringformat:"010g" }} - {{ note.uploaded_at|date:"l M d o"|capfirst }} - {{ note.thanks }} Thanks{{ note.thanks|pluralize }} + {{ note.thanks }} Thank{{ note.thanks|pluralize }} {{ note.name }} -- 2.25.1