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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-07-20 08:21:54 UTC
  • Revision ID: matt.giuca@gmail.com-20100720082154-a2519bkxfnf1mops
setup/util: Now installs files with .sh extension (I am about to add one).

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>
37
27
      <div py:if="project.latest_submissions.count() == 0">
38
28
        There are no submissions.
39
29
      </div>
49
39
        </thead>
50
40
        <tbody>
51
41
        <py:for each="submission in project.latest_submissions">
52
 
          <tr py:attrs="{'class': 'late_submission'} if submission.late else {}">
 
42
          <tr>
53
43
          <py:choose test="submission.assessed.principal is submission.submitter">
54
44
            <td py:when="True">-</td>
55
45
            <td py:otherwise=""><span title="${submission.assessed.principal.display_name}">${submission.assessed.principal.short_name}</span></td>
56
46
          </py:choose>
57
47
            <td><span title="${submission.submitter.display_name}">${submission.submitter.short_name}</span></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>
 
48
            <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
 
49
            <td>${submission.get_svn_checkout_command(req)}</td>
60
50
          </tr>
61
51
        </py:for>
62
52
        </tbody>
63
53
      </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>
64
58
 
65
 
      <h2>Expected submitters</h2>
 
59
      <h2>Assigned submitters</h2>
66
60
      <div py:if="project.project_set.assigned.count() == 0"
67
61
           py:choose="project.project_set.is_group">
68
62
        <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>
70
64
      </div>
71
65
      <table id="project_assigneds" class="pretty_table"
72
66
             py:if="project.project_set.assigned.count() > 0">
73
 
        <thead><tr><th>Name</th></tr></thead>
 
67
        <thead><tr><th>Assigned</th></tr></thead>
74
68
        <tbody>
75
69
        <py:for each="assignee in project.project_set.assigned">
76
70
          <tr>