[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - commontasks.pt:1.6

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Aug 19 20:26:22 EDT 2003


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

Modified Files:
	commontasks.pt 
Log Message:
Fixed up Common Tasks a bit to treat forwarding menu items a bit better.
Finally "Service", "Cache", and "SQL Connection" work properly.


=== Zope3/src/zope/app/browser/container/commontasks.pt 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/container/commontasks.pt:1.5	Wed Aug  6 10:41:36 2003
+++ Zope3/src/zope/app/browser/container/commontasks.pt	Tue Aug 19 19:26:17 2003
@@ -11,8 +11,17 @@
 
       <a href="#"
         tal:define="baseurl python:request.getURL(1)"
+        tal:condition="python: not info['action'].startswith('../')"
         tal:attributes="
           href string:${baseurl}/@@contents.html?type_name=${info/action};
+          class info/selected"
+        tal:content="info/title" i18n:translate="">Folder
+      </a>
+      <a href="#"
+        tal:define="baseurl python:request.getURL(1)"
+        tal:condition="python: info['action'].startswith('../')"
+        tal:attributes="
+          href python: info['action'][3:];
           class info/selected"
         tal:content="info/title" i18n:translate="">Folder
       </a>




More information about the Zope3-Checkins mailing list