1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Worksheets - ${subject.name}</title>
7
<py:def function="offering_url(offering)">/subjects/${offering.subject.short_name}/${offering.semester.year}/${offering.semester.semester}</py:def>
8
<h1>Worksheets for ${subject.name}</h1>
9
<div id="ivle_padding">
10
<div class="contextactions" py:if="'edit' in offering.get_permissions(user)">
11
<a class="editaction" href="${offering_url(offering)}/+worksheets/+edit">Edit worksheets</a>
13
<p py:if="len(worksheets) == 0">There are not currently any worksheets for this subject.</p>
14
<ul id="tutorial-toc">
15
<py:for each="worksheet in worksheets">
17
<a href="${offering_url(offering)}/+worksheets/${worksheet.id}">${worksheet.name}</a>
18
<py:if test="worksheet.assessable">
20
<li class="${worksheet.complete_class}">
21
Completed ${worksheet.mand_done}/${worksheet.total}${worksheet.optional_message}
28
<py:if test="problems_total > 0">
30
<li class="${complete_class}">
31
Total exercises completed: ${problems_done}/${problems_total} (${problems_pct}%)
34
<p style="font-weight: bold">
35
Worksheet mark: ${mark}/${max_mark}