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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-07-28 10:45:53 UTC
  • mfrom: (1829 trunk)
  • mto: This revision was merged to the branch mainline in revision 1830.
  • Revision ID: coles.david@gmail.com-20100728104553-5z3nxt0l6kyfqfh5
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
      <p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
25
25
 
26
26
      <h2>Latest submissions</h2>
 
27
      <p>Check these out with your IVLE username and Subversion password, as
 
28
      documented under <a class="helpaction"
 
29
      href="/+help/Files/Subversion#external">External Subversion
 
30
      access</a>.<br />
 
31
      <a class="marksaction"
 
32
           href="${req.publisher.generate(project, ProjectExport)}">
 
33
           Bash script for exporting submitted projects
 
34
        </a>
 
35
      </p>
 
36
      <p class="late_submission">* Late submissions (number of days late)</p>
27
37
      <div py:if="project.latest_submissions.count() == 0">
28
38
        There are no submissions.
29
39
      </div>
39
49
        </thead>
40
50
        <tbody>
41
51
        <py:for each="submission in project.latest_submissions">
42
 
          <tr>
 
52
          <tr py:attrs="{'class': 'late_submission'} if submission.late else {}">
43
53
          <py:choose test="submission.assessed.principal is submission.submitter">
44
54
            <td py:when="True">-</td>
45
55
            <td py:otherwise=""><span title="${submission.assessed.principal.display_name}">${submission.assessed.principal.short_name}</span></td>
46
56
          </py:choose>
47
57
            <td><span title="${submission.submitter.display_name}">${submission.submitter.short_name}</span></td>
48
 
            <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
49
 
            <td>svn co -r${submission.revision} ${build_subversion_url(req, submission)}</td>
 
58
            <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}<py:if test="submission.late">* (${submission.days_late})</py:if></td>
 
59
            <td>${submission.get_svn_export_command(req)}</td>
50
60
          </tr>
51
61
        </py:for>
52
62
        </tbody>
53
63
      </table>
54
 
      <p>Check these out with your IVLE username and Subversion password, as
55
 
      documented under <a class="helpaction"
56
 
      href="/+help/Files/Subversion#external">External Subversion
57
 
      access</a>.</p>
58
64
 
59
 
      <h2>Assigned submitters</h2>
 
65
      <h2>Expected submitters</h2>
60
66
      <div py:if="project.project_set.assigned.count() == 0"
61
67
           py:choose="project.project_set.is_group">
62
68
        <py:when test="True">There are no groups assigned to submit this project. Do you want to <a href="${req.publisher.generate(project.project_set, GroupsView)}">create some</a>?</py:when>
64
70
      </div>
65
71
      <table id="project_assigneds" class="pretty_table"
66
72
             py:if="project.project_set.assigned.count() > 0">
67
 
        <thead><tr><th>Assigned</th></tr></thead>
 
73
        <thead><tr><th>Name</th></tr></thead>
68
74
        <tbody>
69
75
        <py:for each="assignee in project.project_set.assigned">
70
76
          <tr>