making a frankenstein out of the course entry page to dissect how it works.
authorwilliam-bratches <williambratches@gmail.com>
Sat, 22 Mar 2014 05:44:34 +0000 (01:44 -0400)
committerwilliam-bratches <williambratches@gmail.com>
Sat, 22 Mar 2014 05:44:34 +0000 (01:44 -0400)
karmaworld/templates/notes/note_list_entry.html

index c8fd521cd2f76a93f79882704f8889ea78103d4f..0c63e7ecc717dcd656e1825e62cc6038d2333e27 100644 (file)
@@ -1,9 +1,9 @@
 <tr>
   <td class="no-display"><!-- this spot solely for the Sort By header --></td>
+  <td class="no-display">{{ course.get_popularity|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">{{ note.get_popularity }} Thank{{ note.get_popularity|pluralize }}</td>
-
+  <td class="small-4 columns large-2 large-offset-2 slim"><span>{{ course.get_popularity }} Thank{{ course.get_popularity|pluralize }}</span></td>
   <td class="small-12 large-5 columns">
     <a href="{{ note.get_absolute_url }}">{{ note.name }}</a>
   </td>