7
7
<h1>Project set for ${projectset.offering.subject.name}</h1>
8
8
<div id="ivle_padding">
9
<py:if test="not projectset.is_group">
10
<p>This set contains solo projects</p>
9
12
<p>Projects in this set:</p>
11
<li py:for="project in projectset.projects">
12
<a href="${req.publisher.generate(project)}">${project.name}</a>
13
<table class="pretty_table">
14
<tr><th>Name</th><th>Actions</th></tr>
15
<tr py:for="project in projectset.projects">
16
<td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
20
<py:if test="projectset.is_group">
15
21
<p>Groups in this set:</p>
17
<li py:for="group in projectset.project_groups"
22
<table class="pretty_table">
23
<tr><th>Name</th><th>Actions</th></tr>
24
<tr py:for="group in projectset.project_groups"
18
25
id="project_group_${group.id}">
20
<a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
26
<td>${group.name}</td>
27
<td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
22
29
id="project_group_${group.id}_button">
26
<li><input value="New" type="button" onclick="create_new_group(${projectset.id})" /></li>
30
<img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
34
<p><span class="addaction">
35
<input value="Add a new group" type="button" onclick="create_new_group(${projectset.id})" />