Show More
@@ -88,8 +88,8 b' class AdminUserGroupsView(BaseAppView, D' | |||
|
88 | 88 | _render = self.request.get_partial_renderer( |
|
89 | 89 | 'rhodecode:templates/data_table/_dt_elements.mako') |
|
90 | 90 | |
|
91 |
def user_group_name( |
|
|
92 |
return _render("user_group_name", |
|
|
91 | def user_group_name(user_group_name): | |
|
92 | return _render("user_group_name", user_group_name) | |
|
93 | 93 | |
|
94 | 94 | def user_group_actions(user_group_id, user_group_name): |
|
95 | 95 | return _render("user_group_actions", user_group_id, user_group_name) |
@@ -153,8 +153,7 b' class AdminUserGroupsView(BaseAppView, D' | |||
|
153 | 153 | user_groups_data = [] |
|
154 | 154 | for user_gr in auth_user_group_list: |
|
155 | 155 | user_groups_data.append({ |
|
156 | "users_group_name": user_group_name( | |
|
157 | user_gr.users_group_id, h.escape(user_gr.users_group_name)), | |
|
156 | "users_group_name": user_group_name(user_gr.users_group_name), | |
|
158 | 157 | "name_raw": h.escape(user_gr.users_group_name), |
|
159 | 158 | "description": h.escape(user_gr.user_group_description), |
|
160 | 159 | "members": user_gr.member_count, |
@@ -282,10 +282,10 b'' | |||
|
282 | 282 | ${base.gravatar_with_user(username, 16)} |
|
283 | 283 | </%def> |
|
284 | 284 | |
|
285 |
<%def name="user_group_name(user_group_ |
|
|
285 | <%def name="user_group_name(user_group_name)"> | |
|
286 | 286 | <div> |
|
287 | <a href="${h.route_path('edit_user_group', user_group_id=user_group_id)}"> | |
|
288 | <i class="icon-group" title="${_('User group')}"></i> ${user_group_name}</a> | |
|
287 | <i class="icon-group" title="${_('User group')}"></i> | |
|
288 | ${h.link_to_group(user_group_name)} | |
|
289 | 289 | </div> |
|
290 | 290 | </%def> |
|
291 | 291 |
General Comments 0
You need to be logged in to leave comments.
Login now