Added Student and Mentor link id to the GradingRecord list.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 14 Jul 2009 13:10:56 +0200
changeset 2641 7ad3af6d30bd
parent 2640 da8aa1ff6943
child 2642 1bb33f56a3f4
Added Student and Mentor link id to the GradingRecord list.
app/soc/templates/soc/grading_record/list/heading.html
app/soc/templates/soc/grading_record/list/row.html
--- a/app/soc/templates/soc/grading_record/list/heading.html	Tue Jul 14 00:55:05 2009 +0200
+++ b/app/soc/templates/soc/grading_record/list/heading.html	Tue Jul 14 13:10:56 2009 +0200
@@ -1,8 +1,8 @@
 <tr align="left">
   <th class="first" align="right">Project Name</th>
-  <th>Student</th>
+  <th>Student (link id)</th>
   <th>Organization</th>
-  <th>Mentor</th>
+  <th>Mentor (link id)</th>
   <th>Final Grade</th>
   <th>Mentor Grade</th>
   <th>Student Eval</th>
--- a/app/soc/templates/soc/grading_record/list/row.html	Tue Jul 14 00:55:05 2009 +0200
+++ b/app/soc/templates/soc/grading_record/list/row.html	Tue Jul 14 13:10:56 2009 +0200
@@ -4,9 +4,15 @@
          href="{{ list.redirect }}">{{ list.item.project.title }}</a>
      </div>
   </td>
-  <td><div class="name">{{ list.item.project.student.name }}</a></div></td>
+  <td><div class="name">
+      {{ list.item.project.student.name }}
+      ({{ list.item.project.student.link_id }})
+  </a></div></td>
   <td><div class="name">{{ list.item.project.scope.name }}</a></div></td>
-  <td><div class="name">{{ list.item.project.mentor.name }}</a></div></td>
+  <td><div class="name">
+      {{ list.item.project.mentor.name }}
+      ({{ list.item.project.mentor.link_id }})
+   </a></div></td>
   <td><div class="name">{{ list.item.grade_decision|capfirst }}</a></div></td>
   <td><div class="name">
       {% if list.item.mentor_record %}