web/views/management.py
branchstable
changeset 2996 866a2c135c33
parent 2670 4747145ff69c
child 3023 7864fee8b4ec
child 3200 747d17498cca
equal deleted inserted replaced
2995:4ef565c1d183 2996:866a2c135c33
   137                                         __redirectpath=entity.rest_path())
   137                                         __redirectpath=entity.rest_path())
   138                 delurl = delurl.replace('%', '%%')
   138                 delurl = delurl.replace('%', '%%')
   139                 # don't give __delete value to build_url else it will be urlquoted
   139                 # don't give __delete value to build_url else it will be urlquoted
   140                 # and this will replace %s by %25s
   140                 # and this will replace %s by %25s
   141                 delurl += '&__delete=%s:require_permission:%%s' % entity.eid
   141                 delurl += '&__delete=%s:require_permission:%%s' % entity.eid
   142                 dellinktempl = u'[<a href="%s" title="%s">-</a>]&nbsp;' % (
   142                 dellinktempl = u'[<a href="%s" title="%s">-</a>]&#160;' % (
   143                     xml_escape(delurl), _('delete this permission'))
   143                     xml_escape(delurl), _('delete this permission'))
   144             else:
   144             else:
   145                 dellinktempl = None
   145                 dellinktempl = None
   146             w(u'<table class="schemaInfo">')
   146             w(u'<table class="schemaInfo">')
   147             w(u'<tr><th>%s</th><th>%s</th></tr>' % (_("permission"),
   147             w(u'<tr><th>%s</th><th>%s</th></tr>' % (_("permission"),