1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/">
<head>
<title>${project.name} for ${project.project_set.offering.subject.name}</title>
</head>
<body>
<h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
<div id="ivle_padding">
<p>${project.synopsis}</p>
<p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
<table border="1" summary="Latest Submissions"
py:if="project.latest_submissions.count() > 0">
<tr>
<th>Name</th>
<th>Submitted By</th>
<th>Time Submitted</th>
<th>Repository Path</th>
<th>Revision</th>
</tr>
<py:for each="submission in project.latest_submissions">
<tr>
<td>${submission.assessed.principal.display_name}</td>
<td>${submission.submitter.display_name}</td>
<td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
<td>${submission.path}</td>
<td>${submission.revision}</td>
</tr>
</py:for>
</table>
<table>
<tr><th>Assigned</th></tr>
<py:for each="assignee in project.project_set.assigned">
<tr>
<td>${assignee.display_name}</td>
<td><a>Grant an extension</a></td>
</tr>
</py:for>
</table>
</div>
</body>
</html>
|