summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b73c1c)
raw | patch | inline | side by side (parent: 1b73c1c)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 19 Jan 2004 23:01:10 +0000 (23:01 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 19 Jan 2004 23:01:10 +0000 (23:01 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2044 57a73879-2fb5-44c3-a270-3262357dd7e2
26 files changed:
index 78879381f015597c920838a579f89becca3dcabe..88088ce9217ba7fd7b02d9612cd7f4a638147d8b 100644 (file)
batch python:utils.Batch(context.list(), 500, start);
props python:request.form['properties'].value.split(',')">
- <div id="classhelp-controls" tal:condition="python:start==0">
+ <div id="classhelp-controls">
<!--input type="button" name="btn_clear"
value="Clear" onClick="clearList()"/ -->
<input type="text" name="text_preview" size="24" class="preview"
<td>
<input type="checkbox" name="check"
onclick="updatePreview();"
- tal:condition="python:start==0"
tal:attributes="value attr; id string:id_$attr" />
</td>
<td tal:repeat="prop props">
<tr class="navigation">
<th>
<a tal:define="prev batch/previous" tal:condition="prev"
- tal:attributes="href string:${request/classname}?@template=help&@startwith=${prev/first}&properties=${request/form/properties/value}"><< previous</a>
+ tal:attributes="href string:${request/classname}?@template=help&@startwith=${prev/first}&property=${request/form/property/value}&properties=${request/form/properties/value}"><< previous</a>
</th>
<th tal:content="python: '%d...%d out of %d'%(batch.start,
batch.start+batch.length-1, batch.sequence_length)">current</th>
<th>
<a tal:define="next batch/next" tal:condition="next"
- tal:attributes="href string:${request/classname}?@template=help&@startwith=${next/first}&properties=${request/form/properties/value}">next >></a>
+ tal:attributes="href string:${request/classname}?@template=help&@startwith=${next/first}&property=${request/form/property/value}&properties=${request/form/properties/value}">next >></a>
</th>
</tr>
diff --git a/templates/classic/html/_generic.index.html b/templates/classic/html/_generic.index.html
index e39c77421cd03e05ca7a1517addd683b678dea72..fa5a10e3dffaf5f225f62cc87955948497666a5a 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="python:context._classname.capitalize()+' editing'"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="python:context._classname.capitalize()+' editing'"></span>
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
index fc35866791008530f4124ed36543358303b6d400..ae7d828ceebb58d86692f722a96aa2c7c31a804f 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="python:context._classname.capitalize()+' editing'"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="python:context._classname.capitalize()+' editing'"></span>
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
index 34dd0cf971cfba71eca61fe6693cd54aac0137d4..cf3cfa906848ba759d7c4af26aa84838917541de 100644 (file)
<title metal:fill-slot="head_title">
<span tal:replace="config/TRACKER_NAME" />: List of files
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>List of files</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">List of files</span>
<td class="content" metal:fill-slot="content">
<table class="otherinfo">
index 6f4542d9a3ae8dc0aa9c65e3503701d397830c0a..e87b1dfeee49b110d56d828976b62fd803ecab19 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">File display</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>File display</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">File display</span>
<td class="content" metal:fill-slot="content">
diff --git a/templates/classic/html/home.classlist.html b/templates/classic/html/home.classlist.html
index 0b5a244756dce8ae60b8bbbc70ec768ab2311c11..637f353e7b0f03950c33fbae2666fdfa1c5f131e 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">List of classes</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>List of classes</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">List of classes</span>
<td class="content" metal:fill-slot="content">
<table class="classlist">
index df9f61f73acfcba2ab4e208f8defb871983c287d..586ea721b8960b2a181dae44e8c513e46f97f2bd 100644 (file)
<title metal:fill-slot="head_title">
<span tal:replace="config/TRACKER_NAME" />: List of issues
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>List of issues</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">List of issues</span>
<td class="content" metal:fill-slot="content">
<tal:block tal:condition="not:context/is_view_ok">
</tr>
</table>
-<form method="GET" tal:attributes="action request/classname">
+<form method="GET" id="index-controls" tal:attributes="action request/classname">
<table class="form">
<tr tal:condition="batch">
index c7f8b64de18c81b7ae1323d69bc1e29142467c85..2c516b4c585230d66d0d7157bd538a5d533ad7ed 100644 (file)
tal:replace="string:Issue ${context/id}: ${context/title}" />
<tal:x tal:condition="not:context/id">New Issue</tal:x>
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">
Issue<span tal:replace="context/id" />
<tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
- </h2>
-</td>
+ </span>
<td class="content" metal:fill-slot="content">
index 91f738bea96d262b01d5aa38f0c23b60ca9c7980..102d721d7e9f67ce8b9178ae26bd8592c8842b14 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">Issue searching</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>Issue searching</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">Issue searching</span>
<td class="content" metal:fill-slot="content">
<form method="GET" tal:attributes="action request/classname">
index a73c9d212c4db1edd0d61702f8d2fcc38819277e..b15b6cd6b5a9c21cb1ad5a34c0620a8a096f661c 100644 (file)
<!-- dollarId: keyword.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">Keyword editing</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>Keyword editing</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">Keyword editing</span>
<td class="content" metal:fill-slot="content">
<table class="otherinfo" tal:define="keywords db/keyword/list"
index 666344b8a6e01eeecf634f8df993fa5c4e318214..526e569b496b57d466c5076dfe6a80d7571698fa 100644 (file)
<title metal:fill-slot="head_title">
<span tal:replace="config/TRACKER_NAME" />: List of messages
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>Message listing</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">Message listing</span>
<td class="content" metal:fill-slot="content">
<table class="messages" tal:condition="request/filter">
<tr><th colspan=2 class="header">Messages</th></tr>
index 4242aae9ada9685659bc66d373b59033e761712f..90f63dfb543b4663298d86247d02bbe1250caa10 100644 (file)
<span tal:condition="context/id" tal:replace="string:Message ${context/id}" />
<tal:x tal:condition="not:context/id">New Message</tal:x>
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">
Message<span tal:replace="context/id" />
<tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
- </h2>
-</td>
+ </span>
<td class="content" metal:fill-slot="content">
<table class="form">
index 7c467c8fa34df2a185aa4bb1bfb86a6bd7dbef20..0ed200c4a4ee545c13a6e50575237d1c5bdb90b4 100644 (file)
<tr>
<td class="page-header-left"> </td>
- <td class="page-header-top" metal:define-slot="body_title"><h2>name</h2></td>
+ <td class="page-header-top">
+ <h2><span metal:define-slot="body_title">body title</span></h2>
+ </td>
</tr>
<tr>
diff --git a/templates/classic/html/user.forgotten.html b/templates/classic/html/user.forgotten.html
index aa6b1849d4bc7612ebc11685cd438880eab93d1a..121fcc5d59ca990db1d63e05af5ce2dffde17f94 100644 (file)
<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">Password reset request</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>Password reset request</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">Password reset request</span>
<td class="content" metal:fill-slot="content">
<p>You have two options if you have forgotten your password. If you
index d9d3c805ac3450586f2868b8b6884fe2b240635b..b1011bd28c8a77d23d3d03963dbecbf1bce07768 100644 (file)
<!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">User listing</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>User listing</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">User listing</span>
<td class="content" metal:fill-slot="content">
<span tal:condition="not:context/is_view_ok">
index e0cb51a13d521c0aeebf63d4a3cefbe1377d5c06..2410b2cb4b9ffc2b5787ac405964ffb865b2311c 100644 (file)
tal:replace="string:User ${context/id}: ${context/username}" />
<tal:x tal:condition="not:context/id">New User</tal:x>
</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">
User<span tal:replace="context/id" />
<tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
- </h2>
-</td>
+ </span>
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
index 7340887902d6082e34763b78f7c67c7b2596d46b..deda319ee9365f491100275db17d9f4b6167fbae 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="string:Registering with ${db/config/TRACKER_NAME}"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="string:Registering with ${db/config/TRACKER_NAME}"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="string:Registering with ${db/config/TRACKER_NAME}"></span>
<td class="content" metal:fill-slot="content">
<tal:block tal:define=" editok python:request.user.username=='anonymous' and
diff --git a/templates/classic/html/user.rego_progress.html b/templates/classic/html/user.rego_progress.html
index 9df2de0e8de14b001dfdf9b79a6c6c6760ce1bcf..53ea880dc1d09f2980a98d050dc8a502eb0be594 100644 (file)
<!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">Registration in progress</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h1>Registration in progress...</h1>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">
+ Registration in progress...</span>
<td class="content" metal:fill-slot="content">
<p>You will shortly receive an email to confirm your registration. To
diff --git a/templates/minimal/html/_generic.index.html b/templates/minimal/html/_generic.index.html
index ac4f069e5d15023a500da05adc0ba563e3778cd0..e2ddefa86d1f2384c3715314ae3d05edad3d96a1 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="python:context._classname.capitalize()+' editing'"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="python:context._classname.capitalize()+' editing'"></span>
+
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
index 0090c62d0a544974859fae2b09edd305298e67f3..8ca8796d0a6cad235392a910d8188e617da4a454 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="python:context._classname.capitalize()+' editing'"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="python:context._classname.capitalize()+' editing'"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="python:context._classname.capitalize()+' editing'"></span>
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
diff --git a/templates/minimal/html/home.classlist.html b/templates/minimal/html/home.classlist.html
index 0b5a244756dce8ae60b8bbbc70ec768ab2311c11..637f353e7b0f03950c33fbae2666fdfa1c5f131e 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">List of classes</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>List of classes</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">List of classes</span>
<td class="content" metal:fill-slot="content">
<table class="classlist">
index acf602390c489a766c546a1d37ce3d961701370a..9a28ee6880b67f2d482e1e34800856421f43857d 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">Tracker home</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>Tracker home</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">Tracker home</span>
<td class="content" metal:fill-slot="content">
<!--
index b563d766b714698970996b39727eadf5b695071f..6afd46f6a3e4e2644e14dcdd227384880c820fbc 100644 (file)
<tr>
<td class="page-header-left"> </td>
- <td class="page-header-top" metal:define-slot="body_title"><h2>name</h2></td>
+ <td class="page-header-top"><h2><span metal:define-slot="body_title">body title</span></h2></td>
</tr>
<tr>
index 30312c2f670921f3fe27d43b1f7ecd6bf8b3a2a2..100c4a92ae4f8a5c52f0ac66a7717b34c6a040d9 100644 (file)
<!-- dollarId: user.index,v 1.3 2002/07/09 05:29:51 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">User listing</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>User listing</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">User listing</span>
<td class="content" metal:fill-slot="content">
<span tal:condition="not:context/is_view_ok">
index 41b1a02bb6e99c3cb6e97dccfb07369dc03b6eb1..2592471d58a045707525819adf4ae71c44c6d54c 100644 (file)
<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title">User editing</title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2>User editing</h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1">
+ User<span tal:replace="context/id" />
+ <tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
+</span>
<td class="content" metal:fill-slot="content">
<span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
You are not allowed to view this page.
index a226413393cd3aee693dd380e8c0133d29d3dbcf..7e66ccc476c83505aa0eac8321441a55da7d02f8 100644 (file)
<tal:block metal:use-macro="templates/page/macros/icing">
<title metal:fill-slot="head_title"
tal:content="string:Registering with ${db/config/TRACKER_NAME}"></title>
-<td class="page-header-top" metal:fill-slot="body_title">
- <h2 tal:content="string:Registering with ${db/config/TRACKER_NAME}"></h2>
-</td>
+<span metal:fill-slot="body_title" tal:omit-tag="python:1"
+ tal:content="string:Registering with ${db/config/TRACKER_NAME}"></span>
<td class="content" metal:fill-slot="content">
<tal:block tal:define=" editok python:request.user.username=='anonymous' and