## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Permissions administration')} · ${c.rhodecode_name} %def> <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('permissions')} %def> <%def name="page_nav()"> ${self.menu('admin')} %def> <%def name="main()">
${_('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 |
${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.hidden('default_user', 'True')} ${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')} |