1
<tal:define define="dummy view/update"/>
2
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool.gradebook">
4
<title metal:fill-slot="title" i18n:translate="">
5
<span tal:replace="context/title" i18n:name="requirement" /> Contents
10
<h1 metal:fill-slot="content-header" i18n:translate="">
11
<span tal:replace="context/title" i18n:name="requirement" /> Sub Requirements
14
<metal:block metal:fill-slot="body"
15
tal:define="batch view/batch">
16
<tal:block replace="structure view/batch/render" />
17
<form method="post" class="batch-search">
18
<input id="batch-search-box" type="text" name="SEARCH"
19
tal:attributes="value request/SEARCH|nothing"/>
20
<input type="submit" name="SEARCH_BUTTON" value="Find Now"
21
i18n:attributes="value"/>
22
<input type="submit" name="CLEAR_SEARCH" value="Clear"
23
i18n:attributes="value"/>
24
<input type="checkbox" name="RECURSIVE" value="0"
25
tal:attributes="value request/RECURSIVE|nothing"/>recursive?
27
<tal:if condition="batch" define="depth python:int(request.get('DEPTH', 3))">
28
<div class="count" i18n:translate="">
30
<span i18n:name="count" tal:content="python:len(batch)"/>
32
<span i18n:name="total" tal:content="python:len(batch.list)"/>
37
<input type="submit" name="DEPTH"
38
tal:condition="python:depth > 1"
39
tal:attributes="value python:depth-1" />
40
<b tal:content="python:depth">3</b>
41
<input type="submit" name="DEPTH"
42
tal:attributes="value python:depth+1" />
44
<tal:block replace="structure view/subthread" />