From: Charles Connell Date: Wed, 26 Mar 2014 15:04:46 +0000 (-0400) Subject: Revert some of William's changes X-Git-Tag: release-20150131~144^2~12^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8297e218be72c1b116242bdc0bf6796f8eb4e6c1;p=oweals%2Fkarmaworld.git Revert some of William's changes --- 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 }}