web/views/management.py
branchtls-sprint
changeset 1806 e94b65445826
parent 1641 2c80b09d8d86
child 1877 10b9feeb7905
equal deleted inserted replaced
1805:7bad2785d167 1806:e94b65445826
    31         w(u'<table class="schemaInfo">')
    31         w(u'<table class="schemaInfo">')
    32         w(u'<tr><th>%s</th><th>%s</th><th>%s</th></tr>' % (
    32         w(u'<tr><th>%s</th><th>%s</th><th>%s</th></tr>' % (
    33             _("permission"), _('granted to groups'), _('rql expressions')))
    33             _("permission"), _('granted to groups'), _('rql expressions')))
    34         for access_type in access_types:
    34         for access_type in access_types:
    35             w(u'<tr>')
    35             w(u'<tr>')
    36             w(u'<td>%s</td>' % _('%s_perm' % access_type))
    36             w(u'<td>%s</td>' % self.req.__('%s_perm' % access_type))
    37             groups = eschema.get_groups(access_type)
    37             groups = eschema.get_groups(access_type)
    38             l = []
    38             l = []
    39             groups = [(_(group), group) for group in groups]
    39             groups = [(_(group), group) for group in groups]
    40             for trad, group in sorted(groups):
    40             for trad, group in sorted(groups):
    41                 if link:
    41                 if link: