## -*- 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.boolicon(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()} |
${ip.ip_addr} |
${h.ip_range(ip.ip_addr)} |
${h.form(url('user_ips_delete', id=c.user.user_id),method='delete')} ${h.hidden('del_ip',ip.ip_id)} ${h.submit('remove_',_('delete'),id="remove_ip_%s" % ip.ip_id, class_="delete_icon action_button", onclick="return confirm('"+_('Confirm to delete this ip: %s') % ip.ip_addr+"');")} ${h.end_form()} |
${_('All IP addresses are allowed')} |