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"
12
href="${req.publisher.generate(project, ProjectEdit)}">
15
<a py:if="'edit' in permissions"
17
href="${req.publisher.generate(project, ProjectDelete)}">
21
<a py:if="project.url not in (None, '')" href="${project.url}">${project.url}</a>
22
<p>Deadline: ${format_datetime(project.deadline)}</p>
23
9
<p>${project.synopsis}</p>
24
10
<p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
26
12
<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
31
<a class="marksaction"
32
href="${req.publisher.generate(project, ProjectExport)}">
33
Bash script for exporting submitted projects
36
<div py:if="project.latest_submissions.count() == 0">
37
There are no submissions.
39
<table id="project_submissions" class="pretty_table" summary="Latest Submissions"
13
<table id="project_submissions" class="project_list" summary="Latest Submissions"
40
14
py:if="project.latest_submissions.count() > 0">
56
30
<td><span title="${submission.submitter.display_name}">${submission.submitter.short_name}</span></td>
57
31
<td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
58
<td>${submission.get_svn_export_command(req)}</td>
32
<td>svn co --username ${user.login} -r${submission.revision} ${build_subversion_url(svn_addr, submission)}</td>
64
38
<h2>Assigned submitters</h2>
65
<div py:if="project.project_set.assigned.count() == 0"
66
py:choose="project.project_set.is_group">
67
<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>
68
<py:otherwise>There are no students assigned to submit this project. Do you want to <a href="${req.publisher.generate(project.project_set.offering, EnrolView)}">enrol some</a>?</py:otherwise>
70
<table id="project_assigneds" class="pretty_table"
71
py:if="project.project_set.assigned.count() > 0">
39
<table id="project_assigneds" class="project_list">
72
40
<thead><tr><th>Assigned</th></tr></thead>
74
42
<py:for each="assignee in project.project_set.assigned">