# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1241076333 -7200 # Node ID 99a19875ef1e2255a21c53e6b6d53213a4e978b1 # Parent 08f25ed7a7f4f7726508afe093723b63184db06c set progress div in call() to avoid duplication when applied on multiple entities diff -r 08f25ed7a7f4 -r 99a19875ef1e web/views/management.py --- a/web/views/management.py Thu Apr 30 09:13:39 2009 +0200 +++ b/web/views/management.py Thu Apr 30 09:25:33 2009 +0200 @@ -67,6 +67,9 @@ """display security information for a given entity""" id = 'security' title = _('security') + def call(self): + self.w(u'
%s
' % self.req._('validating...')) + super(SecurityManagementView, self).call() def cell_call(self, row, col): self.req.add_js('cubicweb.edition.js') @@ -82,7 +85,6 @@ self.w('

%s

' % _('schema\'s permissions definitions')) self.schema_definition(entity.e_schema) self.w('

%s

' % _('manage security')) - self.w(u'
%s
' % self.req._('validating...')) # ownership information if self.schema.rschema('owned_by').has_perm(self.req, 'add', fromeid=entity.eid):