web/views/schema.py
branchstable
changeset 7811 c468ff909e98
parent 7782 40a49f4350a5
child 7845 2172978be237
equal deleted inserted replaced
7806:aa30c665bd06 7811:c468ff909e98
   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>')