1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Staff and students - ${offering.subject.name}</title>
7
<h1>Staff and students in ${offering.subject.name}</h1>
8
<div id="ivle_padding">
9
<div py:def="userlist(title, role)"
10
py:if="offering.get_members_by_role(unicode(role)).count()">
13
<li py:for="user in offering.get_members_by_role(unicode(role))">
14
${user.login} (${user.fullname})</li>
17
${userlist("Lecturers", "lecturer")}
18
${userlist("Tutors", "tutor")}
19
${userlist("Students", "student")}