[Zope3-checkins] CVS: Zope3/src/zope/app/schemacontent/browser - permission_edit.pt:1.2.6.1

Martijn Faassen m.faassen at vet.uu.nl
Tue May 11 05:10:58 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/schemacontent/browser
In directory cvs.zope.org:/tmp/cvs-serv20906/src/zope/app/schemacontent/browser

Modified Files:
      Tag: faassen-interfaces-branch
	permission_edit.pt 
Log Message:
Sync up with changes in HEAD (so I can generate up to date patch file).


=== Zope3/src/zope/app/schemacontent/browser/permission_edit.pt 1.2 => 1.2.6.1 ===
--- Zope3/src/zope/app/schemacontent/browser/permission_edit.pt:1.2	Tue Mar 23 17:07:52 2004
+++ Zope3/src/zope/app/schemacontent/browser/permission_edit.pt	Tue May 11 05:10:27 2004
@@ -13,22 +13,19 @@
                condition="widgets">
       <h4 i18n:translate="">Map permissions to Schema fields</h4>
 
-      <tal:block repeat="widget widgets">
-        <h5 tal:content="string:${widget/fieldTitle} (${widget/fieldName})">
+      <tal:block repeat="pwidget widgets">
+        <h5 tal:content="string:${pwidget/fieldTitle} (${pwidget/fieldName})">
           FieldName (Field Title)
         </h5>
-        <div class="row" tal:replace="structure widget/getter/row">
-          <div class="label" i18n:translate="">Get Permission</div>
-          <div class="field">
-
-          </div>
-        </div>
-        <div class="row" tal:replace="structure widget/setter/row">
-          <div class="label" i18n:translate="">Set Permission</div>
-          <div class="field">
-
-          </div>
+        
+        <div class="row" tal:define="widget nocall:pwidget/getter">
+          <metal:block use-macro="context/@@form_macros/widget_row" />
         </div>
+    
+        <div class="row" tal:define="widget nocall:pwidget/setter">
+          <metal:block use-macro="context/@@form_macros/widget_row" />
+        </div>        
+        
         <br />
       </tal:block>
       <div class="row">




More information about the Zope3-Checkins mailing list