Student proposal list now shows proper date and the normal list shows the organization name.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 21 Mar 2009 18:15:18 +0000
changeset 1983 ba5be8275a75
parent 1982 d3bebec883f1
child 1984 eb02fd5427c5
Student proposal list now shows proper date and the normal list shows the organization name. Addresses Issue 396. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/templates/soc/student_proposal/list/detailed_row.html
app/soc/templates/soc/student_proposal/list/heading.html
app/soc/templates/soc/student_proposal/list/row.html
--- a/app/soc/templates/soc/student_proposal/list/detailed_row.html	Sat Mar 21 18:02:49 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/detailed_row.html	Sat Mar 21 18:15:18 2009 +0000
@@ -12,5 +12,5 @@
   <td><div class="title">{{ list.item.title }}</a></div></td>
   <td><div class="status">{{ list.item.status }}</a></div></td>
   <td><div class="score">{{ list.item.score }}</a></div></td>
-  <td><div class="date">{{ list.item.last_modified_on }}</a></div></td>
+  <td><div class="date">{{ list.item.last_modified_on|date:"jS F Y H:i" }}</a></div></td>
 </tr>
--- a/app/soc/templates/soc/student_proposal/list/heading.html	Sat Mar 21 18:02:49 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/heading.html	Sat Mar 21 18:15:18 2009 +0000
@@ -1,6 +1,6 @@
 <tr align="left">
   <th class="first" align="right">Student</th>
   <th>Title</th>
-  <th>Status</th>
+  <th>Organization Name</th>
   <th>Last Modified on</th>
 </tr>
--- a/app/soc/templates/soc/student_proposal/list/row.html	Sat Mar 21 18:02:49 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/row.html	Sat Mar 21 18:15:18 2009 +0000
@@ -5,6 +5,6 @@
      </div>
   </td>
   <td><div class="title">{{ list.item.title }}</a></div></td>
-  <td><div class="status">{{ list.item.status }}</a></div></td>
-  <td><div class="date">{{ list.item.last_modified_on }}</a></div></td>
+  <td><div class="status">{{ list.item.org.name }}</a></div></td>
+  <td><div class="date">{{ list.item.last_modified_on|date:"jS F Y H:i" }}</a></div></td>
 </tr>