##// END OF EJS Templates
pull-requests: change the naming from #NUM into !NUM....
pull-requests: change the naming from #NUM into !NUM. - We'll later on enable global pattern matching and from now on refercing a pr should be used with an ! not to confuse #NUM which is tickets/issues

File last commit:

r3589:aac6b163 new-ui
r4039:6942c656 default
Show More
user_edit.mako
59 lines | 2.9 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('%s user settings') % c.user.username}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
audit-logs: introduced new view to replace admin journal....
r1758 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
admin-users: moved grid browsing to pyramid....
r1520 ${h.link_to(_('Users'),h.route_path('users'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
admin: show admin menus in add pages, and edit pages for users/groups/user groups
r3585 <%def name="menu_bar_subnav()">
${self.admin_menu(active='users')}
</%def>
templating: use .mako as extensions for template files.
r1282 <%def name="main()">
<div class="box user_settings">
nav: bring back quick filter and cleanup titles
r3589 % if not c.user.active:
<div class="alert alert-warning text-center">
<strong>${_('This user is set as disabled')}</strong>
</div>
% endif
templating: use .mako as extensions for template files.
r1282
admin: show admin menus in add pages, and edit pages for users/groups/user groups
r3585 ##main
templating: use .mako as extensions for template files.
r1282 <div class="sidebar-col-wrapper">
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
users: ported controllers from pylons into pyramid views.
r2114 <li class="${'active' if c.active=='profile' else ''}"><a href="${h.route_path('user_edit', user_id=c.user.user_id)}">${_('User Profile')}</a></li>
admin: moved auth tokens into pyramid view....
r1518 <li class="${'active' if c.active=='auth_tokens' else ''}"><a href="${h.route_path('edit_user_auth_tokens', user_id=c.user.user_id)}">${_('Auth tokens')}</a></li>
users: added SSH key management for user admin pages
r1993 <li class="${'active' if c.active in ['ssh_keys','ssh_keys_generate'] else ''}"><a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id)}">${_('SSH Keys')}</a></li>
users: ported controllers from pylons into pyramid views.
r2114 <li class="${'active' if c.active=='advanced' else ''}"><a href="${h.route_path('user_edit_advanced', user_id=c.user.user_id)}">${_('Advanced')}</a></li>
<li class="${'active' if c.active=='global_perms' else ''}"><a href="${h.route_path('user_edit_global_perms', user_id=c.user.user_id)}">${_('Global permissions')}</a></li>
users/user_groups: ported permission summary pages into pyramid....
r1998 <li class="${'active' if c.active=='perms_summary' else ''}"><a href="${h.route_path('edit_user_perms_summary', user_id=c.user.user_id)}">${_('Permissions summary')}</a></li>
users-admin: moved views into pyramid for editing emails and ips....
r1821 <li class="${'active' if c.active=='emails' else ''}"><a href="${h.route_path('edit_user_emails', user_id=c.user.user_id)}">${_('Emails')}</a></li>
<li class="${'active' if c.active=='ips' else ''}"><a href="${h.route_path('edit_user_ips', user_id=c.user.user_id)}">${_('Ip Whitelist')}</a></li>
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 <li class="${'active' if c.active=='groups' else ''}"><a href="${h.route_path('edit_user_groups_management', user_id=c.user.user_id)}">${_('User Groups Management')}</a></li>
audit-logs: expose tailoed audit logs in repository view
r2156 <li class="${'active' if c.active=='audit' else ''}"><a href="${h.route_path('edit_user_audit_logs', user_id=c.user.user_id)}">${_('Audit logs')}</a></li>
caches: rewrite of auth/permission caches to dogpile.
r2845 <li class="${'active' if c.active=='caches' else ''}"><a href="${h.route_path('edit_user_caches', user_id=c.user.user_id)}">${_('Caches')}</a></li>
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/users/user_edit_${c.active}.mako"/>
</div>
</div>
</div>
</%def>