Revert some of William's changes
authorCharles Connell <charles@connells.org>
Wed, 26 Mar 2014 15:04:46 +0000 (11:04 -0400)
committerCharles Connell <charles@connells.org>
Wed, 26 Mar 2014 15:04:46 +0000 (11:04 -0400)
karmaworld/apps/courses/models.py
karmaworld/templates/courses/course_list_entry.html
karmaworld/templates/notes/note_list_entry.html

index ad083d1a7d95c1247a2c198460a8b2e40c1dca6d..573bfe4db8bf5f6620c646c18785507dcad8b162 100644 (file)
@@ -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.
 """
index 7c54f087a8a80c4f8e294aa8ea4477a762399935..ec883756c74bfe7afc2d83391499cd1ce25811ab 100644 (file)
@@ -5,8 +5,8 @@
   <td class="no-display">{{ course.get_popularity|stringformat:"010g" }}</td>
 
   <td class="small-8 columns large-4 slim"><span>Updated {{ course.updated_at|date:"b d, o"|capfirst }}</span></td>
-  <td class="small-4 columns large-2 large-offset-2 slim"><span>{{ course.file_count }} Notes{{ course.file_count|pluralize }}</span></td>
-  <td class="small-4 columns large-2 large-offset-1 slim"><span>{{ course.get_popularity }} Thanks{{ course.get_popularity|pluralize }}</span></td>
+  <td class="small-4 columns large-2 large-offset-2 slim"><span>{{ course.file_count }} Note{{ course.file_count|pluralize }}</span></td>
+  <td class="small-4 columns large-2 large-offset-1 slim"><span>{{ course.get_popularity }} Thank{{ course.get_popularity|pluralize }}</span></td>
 
   <td class="small-12 large-5 columns">
     <a href="{{ course.get_absolute_url }}">{% if course.department %}{{course.department.name}}: {% endif %}{{ course.name }}</a> 
index b226810fa0435d9b77039da71a109f326e4ae3ba..5c486b9433f80516ca6c453228f364cc26a4f252 100644 (file)
@@ -1,10 +1,8 @@
 <tr>
   <td class="no-display"><!-- this spot solely for the Sort By header --></td>
-  <td class="no-display">{{ note.thanks|stringformat:"010g" }}</td>
-
 
   <td class="small-8 columns large-4 slim">{{ note.uploaded_at|date:"l M d o"|capfirst }}</td>
-  <td class="small-4 columns large-2 large-offset-2 slim"><span>{{ note.thanks }} Thanks{{ note.thanks|pluralize }}</span></td></td>
+  <td class="small-4 columns large-2 large-offset-2 slim"><span>{{ note.thanks }} Thank{{ note.thanks|pluralize }}</span></td>
 
   <td class="small-12 large-5 columns">
     <a href="{{ note.get_absolute_url }}">{{ note.name }}</a>