[Zope-Checkins] SVN: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml support for indexSize()

Andreas Jung andreas at andreas-jung.com
Mon Jan 31 13:47:19 EST 2005


Log message for revision 28997:
  support for indexSize()
  

Changed:
  U   Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml

-=-
Modified: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml
===================================================================
--- Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml	2005-01-31 18:43:28 UTC (rev 28996)
+++ Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/ZCatalog/dtml/catalogIndexes.dtml	2005-01-31 18:47:19 UTC (rev 28997)
@@ -103,7 +103,7 @@
    ><strong>Index type</strong><dtml-else>Index type</dtml-if></a></div>
   </td>
 
-  <td width="20%" align="left"><div class="list-item"><a 
+  <td width="10%" align="left"><div class="list-item"><a 
    href="./manage_catalogIndexes?skey=numObjects<dtml-if 
    "rkey == ''">&rkey=numObjects</dtml-if
    >"
@@ -113,6 +113,16 @@
    ><strong># objects</strong><dtml-else># objects</dtml-if></a></div>
   </td>
 
+  <td width="10%" align="left"><div class="list-item"><a 
+   href="./manage_catalogIndexes?skey=indexSize<dtml-if 
+   "rkey == ''">&rkey=indexSize</dtml-if
+   >"
+   onMouseOver="window.status='Sort objects by number of distinct values indexed'; return true"
+   onMouseOut="window.status=''; return true"><dtml-if 
+   "skey == 'indexSize' or rkey == 'indexSize'"
+   ><strong>Size</strong><dtml-else>Size</dtml-if></a></div>
+  </td>
+
   <td width="20%" align="left"><div class="list-item"><a 
    href="./manage_catalogIndexes?skey=bobobase_modification_time<dtml-if 
    "rkey == ''">&rkey=bobobase_modification_time</dtml-if
@@ -175,6 +185,12 @@
 
     <td>
       <div class="list-item">
+        <dtml-var indexSize missing="n/a">
+      </div>
+    </td>
+
+    <td>
+      <div class="list-item">
         <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
       </div>
     </td>



More information about the Zope-Checkins mailing list