equal
deleted
inserted
replaced
70 if eschema.is_final() or not (eschema.has_perm(req, 'read') or |
70 if eschema.is_final() or not (eschema.has_perm(req, 'read') or |
71 eschema.has_local_role('read')): |
71 eschema.has_local_role('read')): |
72 continue |
72 continue |
73 etype = eschema.type |
73 etype = eschema.type |
74 label = display_name(req, etype, 'plural') |
74 label = display_name(req, etype, 'plural') |
75 view = self.vreg.select_view('list', req, req.etype_rset(etype)) |
75 view = self.vreg.select('views', 'list', req, req.etype_rset(etype)) |
76 url = view.url() |
76 url = view.url() |
77 etypelink = u' <a href="%s">%s</a>' % (html_escape(url), label) |
77 etypelink = u' <a href="%s">%s</a>' % (html_escape(url), label) |
78 yield (label, etypelink, self.add_entity_link(eschema, req)) |
78 yield (label, etypelink, self.add_entity_link(eschema, req)) |
79 |
79 |
80 ManageView.entity_types = entity_types_no_count |
80 ManageView.entity_types = entity_types_no_count |