[Checkins]
SVN: z3c.securitytool/trunk/src/z3c/securitytool/browser/
Misc view changes, cleaning up permissionDetails
Daniel Blackburn
blackburnd at gmail.com
Wed Jan 30 08:09:28 EST 2008
Log message for revision 83314:
Misc view changes, cleaning up permissionDetails
Changed:
U z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt
U z3c.securitytool/trunk/src/z3c/securitytool/browser/views.py
-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt 2008-01-30 12:58:16 UTC (rev 83313)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/permdetails.pt 2008-01-30 13:09:28 UTC (rev 83314)
@@ -15,7 +15,7 @@
<div>
<br><br>
<metal:block define-macro="permission-details">
- <ul>
+ <ul tal:condition="python: permissions or roles or groups">
<li>
<tal:block tal:condition="permissions">
<div>
@@ -36,7 +36,8 @@
<span tal:repeat="perm
python:roles[role_context]">
<span tal:attributes="class perm/setting"
- tal:content="perm/name"/><span tal:condition="not:repeat/perm/end"
+ tal:content="perm/name"/>
+ <span tal:condition="not:repeat/perm/end"
tal:replace="string:,"/>
</span></div>
Modified: z3c.securitytool/trunk/src/z3c/securitytool/browser/views.py
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/browser/views.py 2008-01-30 12:58:16 UTC (rev 83313)
+++ z3c.securitytool/trunk/src/z3c/securitytool/browser/views.py 2008-01-30 13:09:28 UTC (rev 83314)
@@ -160,9 +160,9 @@
self.read_perm = self.permissionDetails['read_perm']
if self.read_perm == 'zope.Public':
- self.message =(u"The view <b>%s</b> has the permission "
+ self.message =(u"<p class=\"Allow\"> The view <b>%s</b> has the permission "
u"<b>zope.Public</b> and can be accessed "
- u"by any principal." % self.view)
+ u"by any principal.</p>" % self.view)
self.legend = u""
else:
More information about the Checkins
mailing list