[Zope3-checkins] SVN: Zope3/branches/Zope-3.1/src/zope/app/container/browser/add.pt According to philicon's hint in connection with [Z3d]434

Egon Frerich e.frerich at nord-com.net
Fri Aug 5 11:05:33 EDT 2005


Log message for revision 37733:
  According to philicon's hint in connection with [Z3d]434

Changed:
  U   Zope3/branches/Zope-3.1/src/zope/app/container/browser/add.pt

-=-
Modified: Zope3/branches/Zope-3.1/src/zope/app/container/browser/add.pt
===================================================================
--- Zope3/branches/Zope-3.1/src/zope/app/container/browser/add.pt	2005-08-05 15:01:44 UTC (rev 37732)
+++ Zope3/branches/Zope-3.1/src/zope/app/container/browser/add.pt	2005-08-05 15:05:33 UTC (rev 37733)
@@ -6,8 +6,12 @@
   <form method="post" action="action.html">
     <table class="TypeListing" cellpadding="3">
 
-      <caption tal:content="view/title | default"
-        i18n:translate="">Add Content</caption>
+      <tal:block define="title view/title | nothing">
+         <caption tal:condition="title" tal:content="title"
+             i18n:translate="">Inserted title</caption>
+         <caption tal:condition="not:title"
+             i18n:translate="">Add Content</caption>
+      </tal:block>
 
       <tbody tal:define="infos view/addingInfo">
 



More information about the Zope3-Checkins mailing list