Skip to content

Commit 3699760

Browse files
author
Tobias Herp
committed
Code and TAL cleanup
1 parent 19d7aad commit 3699760

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

templates/classic/html/_generic.help-submit.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848
props python:request.form['properties'].value.split(',')"
4949
class="help-submit"
5050
id="classhelp-controls">
51-
<!--input type="button" name="btn_clear"
52-
tal:attributes="action request/base"
53-
style="width:100%;margin-right:1em;margin-left:0"
54-
value="Clear" onClick="clearList()"/ -->
5551
<div style="width:100%;text-align:left;margin-bottom:0.2em">
5652
<input type="text" name="text_preview" size="24" class="preview"
5753
onchange="f=getListForm();if(f){ reviseList_framed(f, this)};"

templates/classic/html/user.help-search.html

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@
4141
<input type="hidden" name="form" value="" tal:attributes="value request/form/form/value">
4242
<table>
4343
<tr tal:define="name string:username; label string:Username:">
44-
<th metal:use-macro="th_label" />
44+
<th metal:use-macro="th_label">Name</th>
4545
<td metal:use-macro="search_input"><input type=text></td>
4646
</tr>
4747

4848
<tr tal:define="name string:phone; label string:Phone number">
49-
<th metal:use-macro="th_label" />
49+
<th metal:use-macro="th_label">Phone</th>
5050
<td metal:use-macro="search_input"><input type=text></td>
5151
</tr>
5252

5353
<tr tal:define="name string:roles;
5454
onchange string:this.form.submit();
5555
label string:Rollen:"
5656
>
57-
<th metal:use-macro="th_label" />
57+
<th metal:use-macro="th_label">role</th>
5858
<td metal:use-macro="search_select_roles">
5959
<select>
60-
<option value="">Spaßvogel</option>
60+
<option value="">jokester</option>
6161
</select>
6262
</td>
6363
</tr>
@@ -81,11 +81,5 @@
8181
<script type="text/javascript"><!--
8282
focus2id('username');
8383
//--></script>
84-
<script type="text/javascript"
85-
tal:condition=false
86-
tal:content="structure string:<!--
87-
parent.submit.document.URL='?form=${form}&field=${field}&@template=help-submit&_current_val='+encodeURIComponent(original_field);
88-
document.write(parent.submit.document.URL)
89-
//-->"></script>
9084
</body>
9185
</html>

templates/classic/html/user.help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<tal:block tal:condition="python:request.form.has_key('property')">
1212
<title><tal:x i18n:translate=""><tal:x i18n:name="property"
1313
tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker"
14-
tal:replace="config/TRACKER_NAME" /></tal:x> - Frame-Version</title>
14+
tal:replace="config/TRACKER_NAME" /></tal:x></title>
1515
<script language="Javascript" type="text/javascript"
1616
tal:condition=false
1717
tal:content="structure string:<!--

0 commit comments

Comments
 (0)