Changed GradingRecord list templates to show more info.
They now show wether or not a Mentor/Student eval has been found.
--- a/app/soc/templates/soc/grading_record/list/heading.html Mon Jul 13 01:00:59 2009 +0200
+++ b/app/soc/templates/soc/grading_record/list/heading.html Mon Jul 13 01:07:03 2009 +0200
@@ -4,6 +4,8 @@
<th>Organization</th>
<th>Mentor</th>
<th>Grade</th>
+ <th>Mentor Eval</th>
+ <th>Student Eval</th>
<th>Locked</th>
<th>Last Modified</th>
</tr>
--- a/app/soc/templates/soc/grading_record/list/row.html Mon Jul 13 01:00:59 2009 +0200
+++ b/app/soc/templates/soc/grading_record/list/row.html Mon Jul 13 01:07:03 2009 +0200
@@ -4,10 +4,26 @@
href="{{ list.redirect }}">{{ list.item.project.title }}</a>
</div>
</td>
- <td><div class="date">{{ list.item.project.student.name }}</a></div></td>
- <td><div class="date">{{ list.item.project.scope.name }}</a></div></td>
- <td><div class="date">{{ list.item.project.mentor.name }}</a></div></td>
- <td><div class="date">{{ list.item.grade_decision }}</a></div></td>
- <td><div class="date">{{ list.item.locked }}</a></div></td>
+ <td><div class="name">{{ list.item.project.student.name }}</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.grade_decision }}</a></div></td>
+ <td><div class="name">
+ {% if list.item.mentor_record %}
+ Yes
+ {% else %}
+ No
+ {% endif %}
+ </a></div>
+ </td>
+ <td><div class="name">
+ {% if list.item.student_record %}
+ Yes
+ {% else %}
+ No
+ {% endif %}
+ </a></div>
+ </td>
+ <td><div class="name">{{ list.item.locked }}</a></div></td>
<td><div class="date">{{ list.item.modified|date:"jS F Y H:i" }}</a></div></td>
</tr>