## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('My account')} ${c.rhodecode_user.username} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${_('My Account')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}
${c.form|n}
%for section in sorted(c.rhodecode_user.permissions.keys()):
${section.replace("_"," ").capitalize()}
%for k in c.rhodecode_user.permissions[section]: <% if section != 'global': section_perm = c.rhodecode_user.permissions[section].get(k) _perm = section_perm.split('.')[-1] else: _perm = section_perm = None %> %if _perm not in ['none']: %endif %endfor
${_('Name')} ${_('Permission')}
%if section == 'repositories': ${k} %elif section == 'repositories_groups': ${k} %else: ${k} %endif %if section == 'global': ${h.bool2icon(True)} %else: ${section_perm} %endif
%endfor