equal
deleted
inserted
replaced
100 groups = permissions[action][0] |
100 groups = permissions[action][0] |
101 rqlexprs = permissions[action][1] |
101 rqlexprs = permissions[action][1] |
102 # XXX get group entity and call it's incontext view |
102 # XXX get group entity and call it's incontext view |
103 groups = [u'<a class="%s" href="%s">%s</a>' % ( |
103 groups = [u'<a class="%s" href="%s">%s</a>' % ( |
104 group, self._cw.build_url('cwgroup/%s' % group), label) |
104 group, self._cw.build_url('cwgroup/%s' % group), label) |
105 for group, label in sorted((_(g), g) for g in groups)] |
105 for label, group in sorted((_(g), g) for g in groups)] |
106 w(u'<br/>'.join(groups)) |
106 w(u'<br/>'.join(groups)) |
107 w(u'</td><td>') |
107 w(u'</td><td>') |
108 w(u'<br/>'.join(rqlexprs)) |
108 w(u'<br/>'.join(rqlexprs)) |
109 w(u'</td></tr>\n') |
109 w(u'</td></tr>\n') |
110 w(u'</table>') |
110 w(u'</table>') |