1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Project set for ${projectset.offering.subject.name}</title>
7
<h1>Project set for ${projectset.offering.subject.name}</h1>
8
<div id="ivle_padding">
9
<py:if test="not projectset.is_group">
10
<p>Non-group projects.</p>
12
<py:if test="projectset.is_group">
13
<p>Groups of maximum size ${projectset.max_students_per_group}.</p>
15
<p>Projects in this set:</p>
16
<table class="pretty_table">
17
<tr><th>Name</th><th>Actions</th></tr>
18
<tr py:for="project in projectset.projects">
19
<td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
23
<py:if test="projectset.is_group">
24
<p>Groups in this set:</p>
25
<table class="pretty_table">
26
<tr><th>Name</th><th>Actions</th></tr>
27
<tr py:for="group in projectset.project_groups"
28
id="project_group_${group.id}">
29
<td>${group.name}</td>
30
<td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
32
id="project_group_${group.id}_button">
33
<img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
37
<p><span class="addaction">
38
<input value="Add a new group" type="button" onclick="create_new_group(${projectset.id})" />