egroup -> cwgroup #343418 stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 26 May 2009 14:15:39 +0200
branchstable
changeset 1941 4f38e8b81a1a
parent 1940 2565aae48d48
child 1942 84c8f54ec15a
egroup -> cwgroup #343418
web/views/management.py
--- a/web/views/management.py	Tue May 26 11:23:39 2009 +0200
+++ b/web/views/management.py	Tue May 26 14:15:39 2009 +0200
@@ -23,6 +23,7 @@
 
 class SecurityViewMixIn(object):
     """display security information for a given schema """
+
     def schema_definition(self, eschema, link=True,  access_types=None):
         w = self.w
         _ = self.req._
@@ -40,7 +41,7 @@
             for trad, group in sorted(groups):
                 if link:
                     l.append(u'<a href="%s" class="%s">%s</a><br/>' % (
-                    self.build_url('egroup/%s' % group), group, trad))
+                    self.build_url('cwgroup/%s' % group), group, trad))
                 else:
                     l.append(u'<div class="%s">%s</div>' % (group, trad))
             w(u'<td>%s</td>' % u''.join(l))
@@ -68,6 +69,7 @@
     __select__ = EntityView.__select__ & authenticated_user()
 
     title = _('security')
+
     def call(self):
         self.w(u'<div id="progress">%s</div>' % self.req._('validating...'))
         super(SecurityManagementView, self).call()