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

« back to all changes in this revision

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

Now respects --zip, and creates Zip files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    <h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
9
9
      <p>${project.synopsis}</p>
10
 
      <p>Submissions: ${len(submissions)}/${len(assigned)}</p>
11
 
      <table border="1" summary="Latest Submissions" 
12
 
          py:if="len(submissions) > 0">
 
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
13
        <tr>
14
14
          <th>Name</th>
15
15
          <th>Submitted By</th>
16
16
          <th>Time Submitted</th>
17
 
          <th>Repository</th>
 
17
          <th>Repository Path</th>
 
18
          <th>Revision</th>
18
19
        </tr>
19
 
      <py:for each="submission in submissions">
 
20
      <py:for each="submission in project.latest_submissions">
20
21
        <tr>
21
22
          <td>${submission.assessed.principal.display_name}</td>
22
23
          <td>${submission.submitter.display_name}</td>
23
 
          <td>${submission.date_submitted}</td>
 
24
          <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
24
25
          <td>${submission.path}</td>
 
26
          <td>${submission.revision}</td>
25
27
        </tr>
26
28
      </py:for>
27
29
      </table>
28
30
      <table>
29
31
        <tr><th>Assigned</th></tr>
30
 
        <py:for each="assignee in assigned">
 
32
        <py:for each="assignee in project.project_set.assigned">
31
33
          <tr>
32
34
            <td>${assignee.display_name}</td>
33
35
            <td><a>Grant an extension</a></td>