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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-05-07 07:16:52 UTC
  • Revision ID: grantw@unimelb.edu.au-20100507071652-4z2zidt9le05ueix
Add unique indices on assessed(loginid, projectid) and assessed(groupid, projectid), where they should have been from the start.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
 
9
      <div class="contextactions">
 
10
        <a py:if="'edit' in permissions"
 
11
           class="editaction"
 
12
           href="${req.publisher.generate(project, ProjectEdit)}">
 
13
           Change details
 
14
        </a>
 
15
        <a py:if="'edit' in permissions"
 
16
           class="deleteaction"
 
17
           href="${req.publisher.generate(project, ProjectDelete)}">
 
18
           Delete project
 
19
        </a>
 
20
      </div>
 
21
      <a py:if="project.url not in (None, '')" href="${project.url}">${project.url}</a>
 
22
      <p>Deadline: ${format_datetime(project.deadline)}</p>
9
23
      <p>${project.synopsis}</p>
10
24
      <p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
11
25
 
32
46
          </py:choose>
33
47
            <td><span title="${submission.submitter.display_name}">${submission.submitter.short_name}</span></td>
34
48
            <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
35
 
            <td>svn co --username ${user.login} -r${submission.revision} ${build_subversion_url(svn_addr, submission)}</td>
 
49
            <td>svn co -r${submission.revision} ${build_subversion_url(req, submission)}</td>
36
50
          </tr>
37
51
        </py:for>
38
52
        </tbody>
39
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>
40
58
 
41
59
      <h2>Assigned submitters</h2>
42
60
      <div py:if="project.project_set.assigned.count() == 0"