[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/dtml/main.dtml -
don't show meta_types that don't have an action
Yvo Schubbe
y.2005- at wcm-solutions.de
Mon Oct 31 05:42:21 EST 2005
Log message for revision 39765:
- don't show meta_types that don't have an action
Changed:
UU Zope/trunk/lib/python/OFS/dtml/main.dtml
-=-
Modified: Zope/trunk/lib/python/OFS/dtml/main.dtml
===================================================================
--- Zope/trunk/lib/python/OFS/dtml/main.dtml 2005-10-31 10:41:54 UTC (rev 39764)
+++ Zope/trunk/lib/python/OFS/dtml/main.dtml 2005-10-31 10:42:21 UTC (rev 39765)
@@ -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/trunk/lib/python/OFS/dtml/main.dtml
___________________________________________________________________
Name: cvs2svn:cvs-rev
- 1.22
More information about the Zope-Checkins
mailing list