Student Project listing now includes mentor column.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 07 Apr 2009 08:40:51 +0000
changeset 2111 dfe684de7f92
parent 2110 ac91ff4fc313
child 2112 9a2c9354468c
Student Project listing now includes mentor column. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/templates/soc/student_project/list/heading.html
app/soc/templates/soc/student_project/list/row.html
--- a/app/soc/templates/soc/student_project/list/heading.html	Tue Apr 07 08:09:47 2009 +0000
+++ b/app/soc/templates/soc/student_project/list/heading.html	Tue Apr 07 08:40:51 2009 +0000
@@ -1,5 +1,6 @@
 <tr align="left">
   <th class="first" align="right">Student</th>
   <th>Title</th>
+  <th>Mentor</th>
   <th>Status</th>
 </tr>
--- a/app/soc/templates/soc/student_project/list/row.html	Tue Apr 07 08:09:47 2009 +0000
+++ b/app/soc/templates/soc/student_project/list/row.html	Tue Apr 07 08:40:51 2009 +0000
@@ -1,9 +1,10 @@
 <tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" 
 onclick="document.location.href='{{ list.redirect }}'" name="name">
   <td align="right"><div class="name"><a class="noul"
-         href="{{ list.redirect }}">{{ list.item.student.link_id }}</a>
+         href="{{ list.redirect }}">{{ list.item.student.name }}</a>
      </div>
   </td>
   <td><div class="title">{{ list.item.title }}</a></div></td>
+  <td><div class="title">{{ list.item.mentor.name }}</a></div></td>
   <td><div class="status">{{ list.item.status }}</a></div></td>
 </tr>