Only show mentor name in the detailed list.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 07 Apr 2009 07:28:31 +0000
changeset 2109 3b349cd95b07
parent 2108 286aa6528e84
child 2110 ac91ff4fc313
Only show mentor name in the detailed list. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
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/heading.html	Mon Apr 06 23:46:46 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/heading.html	Tue Apr 07 07:28:31 2009 +0000
@@ -1,7 +1,6 @@
 <tr align="left">
   <th class="first" align="right">Title</th>
   <th>Student</th>
-  <th>Mentor</th>
   <th>Organization Name</th>
   <th>Last Modified on</th>
 </tr>
--- a/app/soc/templates/soc/student_proposal/list/row.html	Mon Apr 06 23:46:46 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/list/row.html	Tue Apr 07 07:28:31 2009 +0000
@@ -5,13 +5,6 @@
      </div>
   </td>
   <td><div class="name">{{ list.item.scope.name }}</a></div></td>
-  <td><div class="name">
-    {% if not list.item.mentor %}
-      None
-    {% else %}
-      {{ list.item.mentor.name }}
-    {% endif %}
-  </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>