|
1 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
| -<html tal:define="property request/form/property/value" > |
| 2 | +<html tal:define="property request/form/property/value | nothing" > |
3 | 3 | <head>
|
4 | 4 | <link rel="stylesheet" type="text/css" href="@@file/style.css" />
|
5 | 5 | <meta http-equiv="Content-Type"
|
6 | 6 | tal:attributes="content string:text/html;; charset=${request/client/charset}" />
|
7 | 7 | <tal:block tal:condition="python:'property' in request.form">
|
8 | 8 | <title i18n:translate=""><tal:x i18n:name="property"
|
9 |
| - tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" |
| 9 | + tal:content="property | default" i18n:translate="" /> help - <span i18n:name="tracker" |
10 | 10 | tal:replace="config/TRACKER_NAME" /></title>
|
11 | 11 | <script language="Javascript" type="text/javascript"
|
12 | 12 | tal:content="structure string:
|
|
23 | 23 | tal:define="batch request/batch;
|
24 | 24 | props python:request.form['properties'].value.split(',')">
|
25 | 25 |
|
26 |
| - <div id="classhelp-controls"> |
| 26 | + <div tal:condition="property" id="classhelp-controls"> |
27 | 27 | <!--input type="button" name="btn_clear"
|
28 | 28 | value="Clear" onClick="clearList()"/ -->
|
29 | 29 | <input type="text" name="text_preview" size="24" class="preview"
|
|
40 | 40 | <th>
|
41 | 41 | <a tal:define="prev batch/previous" tal:condition="prev"
|
42 | 42 | tal:attributes="href python:request.indexargs_url(request.classname,
|
43 |
| - {'@template':'help', 'property': request.form['property'].value, |
| 43 | + {'@template':'help', 'property': property, |
44 | 44 | 'properties': request.form['properties'].value,
|
45 | 45 | 'form': request.form['form'].value,
|
46 | 46 | 'type': request.form['type'].value,
|
|
56 | 56 | <th>
|
57 | 57 | <a tal:define="next batch/next" tal:condition="next"
|
58 | 58 | tal:attributes="href python:request.indexargs_url(request.classname,
|
59 |
| - {'@template':'help', 'property': request.form['property'].value, |
| 59 | + {'@template':'help', 'property': property, |
60 | 60 | 'properties': request.form['properties'].value,
|
61 | 61 | 'form': request.form['form'].value,
|
62 | 62 | 'type': request.form['type'].value,
|
|
69 | 69 |
|
70 | 70 | <table class="classhelp">
|
71 | 71 | <tr>
|
72 |
| - <th> <b>x</b></th> |
| 72 | + <th tal:condition="property"> <b>x</b></th> |
73 | 73 | <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
|
74 | 74 | </tr>
|
75 | 75 | <tr tal:repeat="item batch">
|
76 | 76 | <tal:block tal:define="attr python:item[props[0]]" >
|
77 |
| - <td> |
| 77 | + <td tal:condition="property"> |
78 | 78 | <input name="check"
|
79 | 79 | onclick="updatePreview();"
|
80 | 80 | tal:attributes="type python:request.form['type'].value;
|
|
88 | 88 | </tal:block>
|
89 | 89 | </tr>
|
90 | 90 | <tr>
|
91 |
| - <th> <b>x</b></th> |
| 91 | + <th tal:condition="property"> <b>x</b></th> |
92 | 92 | <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
|
93 | 93 | </tr>
|
94 | 94 | </table>
|
95 | 95 |
|
96 | 96 | </form>
|
97 | 97 | </body>
|
98 | 98 | </html>
|
| 99 | +<!-- SHA: b98bdbeee81ffdf2acc9e9c8b17a6110bf60ac7a --> |
0 commit comments