[Zope-Checkins] CVS: Zope/lib/python/OFS/dtml - main.dtml:1.17.8.1

Andreas Jung andreas@zope.com
Mon, 5 Nov 2001 12:55:56 -0500


Update of /cvs-repository/Zope/lib/python/OFS/dtml
In directory cvs.zope.org:/tmp/cvs-serv8270/dtml

Modified Files:
      Tag: ajung-webdav-debug
	main.dtml 
Log Message:
Locks are now shown in the ZMI


=== Zope/lib/python/OFS/dtml/main.dtml 1.17 => 1.17.8.1 ===
    ><strong>Type</strong><dtml-else>Type</dtml-if></a></div>
   </td>
+
+  <td  align="center" colspan="1"><div 
+   class="list-item"><a href="./manage_main?skey=wl_isLocked<dtml-if 
+   "rkey == ''">&rkey=wl_isLocked</dtml-if>"
+   onMouseOver="window.status='Sort objects by lock status'; return true"
+   onMouseOut="window.status=''; return true"><dtml-if 
+   "skey == 'wl_isLocked' or rkey == 'wl_isLocked'"
+   ><strong>Lock</strong><dtml-else>Lock</dtml-if></a></div>
+  </td>
+
+
+
   <td width="50%" align="left"><div class="list-item"><a 
    href="./manage_main?skey=id<dtml-if 
    "rkey == ''">&rkey=id</dtml-if>"
@@ -125,8 +137,17 @@
   </dtml-if>
 
   </dtml-if>
+  </td>
 
+  <td> 
+    <dtml-try>
+      <dtml-if expr="wl_isLocked()==1">
+        <img src="&dtml-BASEPATH1;/p_/lockedo">
+      </dtml-if>
+    <dtml-except>
+    </dtml-try>
   </td>
+
   <td align="left" valign="top">
   <div class="list-item">
   <a href="&dtml.url_quote-sequence-key;/manage_workspace">