[Zope-Checkins] CVS: Zope/lib/python/AccessControl/dtml - access.dtml:1.5
Toby Dickenson
tdickenson@geminidataloggers.com
Mon, 11 Mar 2002 10:29:38 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl/dtml
In directory cvs.zope.org:/tmp/cvs-serv14471/lib/python/AccessControl/dtml
Modified Files:
access.dtml
Log Message:
merged toby-permission-table-headers-branch: Collector 274: nicer formatting for tall permissions table
=== Zope/lib/python/AccessControl/dtml/access.dtml 1.4 => 1.5 ===
</tr>
+<dtml-in permission_settings mapping>
+
+<dtml-if "not (_['sequence-index']%10)">
<tr class="row-normal">
<dtml-unless isTopLevelPrincipiaApplicationObject>
<td align="left" valign="top">
<div class="form-label">
<strong>
- <a href="manage_acquiredForm">Acquire<BR>permission<BR>settings</a>?
+ <a href="manage_acquiredForm">Acquire<dtml-unless sequence-index><BR>permission<BR>settings</dtml-unless></a>?
</strong>
</div>
</td>
@@ -60,13 +63,14 @@
</td>
</dtml-in valid_roles>
</tr>
+</dtml-if>
-<dtml-in permission_settings mapping>
<dtml-if sequence-odd>
<tr class="row-normal">
<dtml-else>
<tr class="row-hilite">
</dtml-if>
+
<dtml-unless isTopLevelPrincipiaApplicationObject>
<td align="left" valign="top">
<input type="checkbox" name="a<dtml-var sequence-index>" <dtml-var