[Zope3-checkins] CVS: Zope3/src/zope/app/browser/cache - ramstats.pt:1.4

Steve Alexander steve@cat-box.net
Fri, 13 Jun 2003 13:41:42 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/cache
In directory cvs.zope.org:/tmp/cvs-serv28622/src/zope/app/browser/cache

Modified Files:
	ramstats.pt 
Log Message:
Removed the @@object_name view, as used in some page templates, and
the ObjectName view and adapter also.
Extended IPhysicallyLocatable with a getName method.
Renamed the convenience function objectName to getName.

If you have page templates that use @@object_name, then you can replace it
with zope:name.



=== Zope3/src/zope/app/browser/cache/ramstats.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/cache/ramstats.pt:1.3	Fri Jun 13 13:36:17 2003
+++ Zope3/src/zope/app/browser/cache/ramstats.pt	Fri Jun 13 13:41:11 2003
@@ -2,7 +2,7 @@
   <body>
   <div metal:fill-slot="body">
 
-    <p><span tal:replace="context/@@object_name"/> RAMCache statistics</p>
+    <p><span tal:replace="context/zope:name"/> RAMCache statistics</p>
 
     <div tal:condition="python: options.has_key('errors') and
                                 options['errors']">