equal
deleted
inserted
replaced
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>] ' % ( |
142 dellinktempl = u'[<a href="%s" title="%s">-</a>] ' % ( |
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"), |