[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/dtml - catalogIndexes.dtml:1.7.34.1

Andreas Jung andreas@andreas-jung.com
Sun, 17 Nov 2002 03:57:28 -0500


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv1943

Modified Files:
      Tag: ajung-oneindex-multipleattributes-branch
	catalogIndexes.dtml 
Log Message:
added support for new getIndexSourceNames() method of indexes


=== Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml 1.7 => 1.7.34.1 ===
--- Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml:1.7	Fri Jun 28 13:25:24 2002
+++ Zope/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml	Sun Nov 17 03:57:27 2002
@@ -131,7 +131,12 @@
   <td align="left" valign="top">
   <div class="list-item">
   <a href="Indexes/&dtml.url_quote-sequence-key;/manage_workspace">
-  &dtml-sequence-key; <dtml-if title>(&dtml-title;)</dtml-if>
+  &dtml-sequence-key; 
+  <dtml-try>
+    (indexed attrs: <dtml-var "', '.join(_['sequence-item'].getIndexSourceNames())">)
+  <dtml-except>
+    <dtml-if title> (&dtml-title;) </dtml-if>
+  </dtml-try>
   </a>
   </div>