## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Edit user')} ${c.user.username} - ${c.rhodecode_name} %def> <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${h.link_to(_('Users'),h.url('users'))} » ${_('edit')} "${c.user.username}" %def> <%def name="page_nav()"> ${self.menu('admin')} %def> <%def name="main()">
%if c.use_gravatar:
${_('Change your avatar at')} gravatar.com
${_('Using')} ${c.user.email}
%else:
${c.user.email}
%endif
${_('Name')} | ${_('Permission')} | ${_('Edit Permission')} |
---|---|---|
%if section == 'repositories': ${k} %elif section == 'repositories_groups': ${k} %else: ${h.get_permission_name(k)} %endif | %if section == 'global': ${h.bool2icon(k.split('.')[-1] != 'none')} %else: ${section_perm} %endif | %if section == 'repositories': ${_('edit')} %elif section == 'repositories_groups': ${_('edit')} %else: -- %endif |
${em.email} |
${h.form(url('user_emails_delete', id=c.user.user_id),method='delete')} ${h.hidden('del_email',em.email_id)} ${h.submit('remove_',_('delete'),id="remove_email_%s" % em.email_id, class_="delete_icon action_button", onclick="return confirm('"+_('Confirm to delete this email: %s') % em.email+"');")} ${h.end_form()} |