[Zope-Checkins]
CVS: Releases/Zope/lib/python/Products/PageTemplates/tests/input
- DTML1.html:1.1.178.1
Shane Hathaway
shane at zope.com
Sat Oct 4 14:57:58 EDT 2003
Update of /cvs-repository/Releases/Zope/lib/python/Products/PageTemplates/tests/input
In directory cvs.zope.org:/tmp/cvs-serv31859/tests/input
Modified Files:
Tag: Zope-2_7-branch
DTML1.html
Log Message:
Added "context", a synonym of "here", to page template namespaces.
This unifies the convention in templates, scripts, and Zope 3.
=== Releases/Zope/lib/python/Products/PageTemplates/tests/input/DTML1.html 1.1 => 1.1.178.1 ===
--- Releases/Zope/lib/python/Products/PageTemplates/tests/input/DTML1.html:1.1 Fri Mar 23 12:19:20 2001
+++ Releases/Zope/lib/python/Products/PageTemplates/tests/input/DTML1.html Sat Oct 4 14:57:57 2003
@@ -2,18 +2,18 @@
<head><title>Test of documentation templates</title></head>
<body>
<span tal:replace="nothing"> blah </span>
- <dl tal:condition="here/args">
+ <dl tal:condition="context/args">
<dt>The arguments to this test program were:</dt>
<dd>
<ul>
- <li tal:repeat="arg here/args">
+ <li tal:repeat="arg context/args">
Argument number <span tal:replace="arg/num">99</span>
is <span tal:replace="arg/arg">default</span>
</li>
</ul>
</dd>
</dl>
- <p tal:condition="not:here/args">No arguments were given.</p>
+ <p tal:condition="not:context/args">No arguments were given.</p>
And thats da trooth.
</body>
</html>
More information about the Zope-Checkins
mailing list