Show More
@@ -32,7 +32,6 b' from rhodecode.apps._base import BaseApp' | |||||
32 | from rhodecode.lib.auth import ( |
|
32 | from rhodecode.lib.auth import ( | |
33 | LoginRequired, NotAnonymous, CSRFRequired, HasPermissionAnyDecorator) |
|
33 | LoginRequired, NotAnonymous, CSRFRequired, HasPermissionAnyDecorator) | |
34 | from rhodecode.lib import helpers as h, audit_logger |
|
34 | from rhodecode.lib import helpers as h, audit_logger | |
35 | from rhodecode.lib.utils import PartialRenderer |
|
|||
36 | from rhodecode.lib.utils2 import safe_unicode |
|
35 | from rhodecode.lib.utils2 import safe_unicode | |
37 |
|
36 | |||
38 | from rhodecode.model.forms import UserGroupForm |
|
37 | from rhodecode.model.forms import UserGroupForm | |
@@ -86,7 +85,8 b' class AdminUserGroupsView(BaseAppView, D' | |||||
86 | search_q, order_by, order_dir = self._extract_ordering( |
|
85 | search_q, order_by, order_dir = self._extract_ordering( | |
87 | self.request, column_map=column_map) |
|
86 | self.request, column_map=column_map) | |
88 |
|
87 | |||
89 | _render = PartialRenderer('data_table/_dt_elements.mako') |
|
88 | _render = self.request.get_partial_renderer( | |
|
89 | 'data_table/_dt_elements.mako') | |||
90 |
|
90 | |||
91 | def user_group_name(user_group_id, user_group_name): |
|
91 | def user_group_name(user_group_id, user_group_name): | |
92 | return _render("user_group_name", user_group_id, user_group_name) |
|
92 | return _render("user_group_name", user_group_id, user_group_name) |
General Comments 0
You need to be logged in to leave comments.
Login now