[Zope3-checkins] SVN: Zope3/trunk/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:06:10 EDT 2005


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

Changed:
  U   Zope3/trunk/src/zope/app/container/browser/add.pt

-=-
Modified: Zope3/trunk/src/zope/app/container/browser/add.pt
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/add.pt	2005-08-05 15:05:33 UTC (rev 37733)
+++ Zope3/trunk/src/zope/app/container/browser/add.pt	2005-08-05 15:06:10 UTC (rev 37734)
@@ -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