# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1240938542 -7200 # Node ID 8f4d2892e809b3cbc0205e2671e3347c2101f454 # Parent afc154f0709fd3c34fa474b98c36ed5de3a98250 eperm -> cwperm diff -r afc154f0709f -r 8f4d2892e809 web/views/management.py --- a/web/views/management.py Tue Apr 28 18:33:13 2009 +0200 +++ b/web/views/management.py Tue Apr 28 19:09:02 2009 +0200 @@ -48,7 +48,7 @@ self.owned_by_edit_form(entity) else: self.owned_by_information(entity) - # epermissions + # cwpermissions if 'require_permission' in entity.e_schema.subject_relations(): w('
%s | %s | ||||
---|---|---|---|---|---|
%s%s | ' % (dellinktempl % eperm.eid, - eperm.view('oneline'))) + w(u'%s%s | ' % (dellinktempl % cwperm.eid, + cwperm.view('oneline'))) else: - w(u'%s | ' % eperm.view('oneline')) - w(u'%s | ' % self.view('csv', eperm.related('require_group'), 'null')) + w(u'%s | ' % cwperm.view('oneline')) + w(u'%s | ' % self.view('csv', cwperm.related('require_group'), 'null')) w(u'