Log message for revision 39764:
  - don't show meta_types that don't have an action

Changed:
  UU  Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml

-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml 2005-10-31 
10:35:24 UTC (rev 39763)
+++ Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml 2005-10-31 
10:41:54 UTC (rev 39764)
@@ -40,7 +40,9 @@
      
onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
     <option value="manage_workspace" disabled>Select type to add...</option>
     <dtml-in filtered_meta_types mapping sort=name>
+    <dtml-if action>
     <option value="&dtml.html_quote-action;">&dtml-name;</option>
+    </dtml-if>
     </dtml-in>
     </select>
     <input class="form-element" type="submit" name="submit" value=" Add " />


Property changes on: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml
___________________________________________________________________
Name: cvs2svn:cvs-rev
   - 1.22

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to