~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/project.html

  • Committer: dcoles
  • Date: 2008-07-08 02:22:17 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:824
Setup: Try to make this `rm -rf` a little bit more safe. Don't let it cross FS 
boundaries.

Show diffs side-by-side

added added

removed removed

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