1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Projects - ${offering.subject.name}</title>
7
<py:def function="project_url(offering, project)">/subjects/${offering.subject.short_name}/${offering.semester.year}/${offering.semester.semester}/+project/${project.short_name}</py:def>
8
<h1>${offering.subject.name} - Projects</h1>
9
<div id="ivle_padding">
10
<ul id="projectset_list">
11
<py:for each="projectset in offering.project_sets">
12
<li id="projectset_${projectset.id}">
14
<p>Max Size Per Group: ${projectset.max_students_per_group}</p>
15
<ul id="projects_${projectset.id}">
16
<py:for each="project in projectset.projects">
17
<li id="project_${project.id}">
18
<a href="${project_url(offering, project)}"><h4>${project.short_name} - ${project.name}</h4></a>
19
<p>${project.synopsis}</p>
23
<a>Add new project</a>
24
<div id="new_project_${projectset.id}">
25
<p>TODO: Write the add project code</p>
31
<li id="add_projectset">
32
<a>Add a new projectset</a>
33
<div id="new_projectset_div">