<%namespace name="base" file="/base/base.mako"/>

${_('User group profile')}

%if h.HasPermissionAny('hg.admin')(): ${h.link_to(_('Edit'), h.route_path('edit_user_group', user_group_id=c.user_group.users_group_id), class_='panel-edit')} %endif
${_('Group Name')}:
${c.user_group.users_group_name}
${_('Owner')}:
${base.gravatar(c.user_group.user.email, 16)} ${h.link_to_user(c.user_group.user)}
${_('Active')}:
${c.user_group.users_group_active}
% if not c.anonymous:
${_('Members')}:
% if c.group_members: % for user in c.group_members: % endfor % else: % endif
${_('Username')}
${base.gravatar(user.email, 16)} ${h.link_to(h.person(user), h.route_path('user_edit',user_id=user.user_id))}
${_('No members yet')}
% endif